Strings can contain characters that can interfere with processes.
Characters such as those below ASC(32) and the extended characters. This
can happen most often when dealing with Unicode since, if interpreted as
ASCII, and cause weird effects since Unicode is two types.
Anyway, BASE64 allows a string of bytes to be converted to a group of ASCII
alphanumeric characters.
You might want to encode when passing complex data such as saving in a
cookies or database or passing between systems.
It allows arbitrary binary data to be represented in purely ASCII
strings. This is very useful when you need to put some binary data into
a text format like XML.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.