Skip to main content

$encode limits

  • April 23, 2025
  • 1 reply
  • 1 view

Forum|alt.badge.img

Hi,

It seems that the source argument of the $encode function has a size limit ?

Do you know the maximum accepted size ?

What workaround would you suggest for BASE64 encoding large files ( > 100 Mo) ?

Thank you,

Gilles.



------------------------------
Hortion Gilles
Dedalus Healthcare France
Artigues Pres Bordeaux FR
------------------------------

1 reply

Norbert Lauterbach
Forum|alt.badge.img+3
  • Participating Frequently
  • 91 replies
  • April 24, 2025

Hi,

It seems that the source argument of the $encode function has a size limit ?

Do you know the maximum accepted size ?

What workaround would you suggest for BASE64 encoding large files ( > 100 Mo) ?

Thank you,

Gilles.



------------------------------
Hortion Gilles
Dedalus Healthcare France
Artigues Pres Bordeaux FR
------------------------------

Hi Hortion,

as Base64 encodes 3 Bytes of Source-Code into 4 Bytes Destination-Code, you can split the source into Peaces and concatenate after encoding.

P.S.: Works in both directions!

Kind regards

Norbert



------------------------------
Norbert Lauterbach
Infraserv Gmbh & Co. Höchst Kg
Frankfurt DE
------------------------------