in reply to Re: How to Base64 Encode an array variable??
in thread How to Base64 Encode an array variable??

Note that by base64-encoding your bytes, you're making your data 25% bigger for nothing.

It does allow you to turn binary data into printable text, for storage or transfer. I like to use it to include small images in scripts as data.


I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku
  • Comment on Re^2: How to Base64 Encode an array variable??

Replies are listed 'Best First'.
Re^3: How to Base64 Encode an array variable??
by ikegami (Patriarch) on Feb 01, 2010 at 16:58 UTC
    I wasn't speaking generally, only about the case at hand. One does not print HTTP file transfers or include them in scripts.