Base 64 Encoded file not having valid utf-8 characters?
807603Oct 18 2007 — edited Oct 18 2007Hi everyone,
I'm using apache commons's Codec and BCodec to try and encode a file in Base 64 so I can send it in xml from a web service. But when I try to validate the xml (using xerces' lib) it complains that invalid characters are in the element, that do not belong to the utf-8 charset. I've tried using BCodec to specify the encoding but then I got a different error. I've read in the forums that Base 64 contains only A-Z., a-z, 0-9 stuff like that. How can they be invalid in utf-8;