Anu Host wrote:I was trying out some text which was encoded and decoded using base64 and it seems to work fine. Wanted to know if this is ok to be used for .jpeg files and if there are any chances for the image to be corrupted when decoding.
Base64 would be pretty useless if it didn't decode back to the original, wouldn't it?
I came to know that base64 uses only a-z, A-Z, 0-9, + and / but wanted to know if it is safe to use this in an xml.
XML would be pretty useless if it couldn't contain all of those characters, wouldn't it?