Why Use Base64 Encoding?
The most common use of Base64 encoding is to encode binary and text data that may contain non-ASCII characters, or characters that are considered special or reserved characters so that this information can be safely transmitted across the Internet. All binary representations, including 0x00 – 0xFF, can be Base64 encoded. It is particullary useful to users of XML and SOAP because the information one wishes to enclose within these documents may contain reserved or special characters.