DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7243>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7243 Base64 encoding ist not working Summary: Base64 encoding ist not working Product: Xerces-C++ Version: 1.7.0 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Utilities AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I tried the following code: char *pTest = "Hier kommt die Maus"; unsigned int Len = strlen(pTest); unsigned int LenBase64Stream = 0; XMLByte *pBase64Stream = Base64::encode((XMLByte *)pTest, Len, LenBase64Stream); unsigned int LenDecoded = 0; BYTE *pDecoded = Base64::decode(pBase64Stream, &LenDecoded); I'm not able to decode the message! Base64::encode returns the coded string SGllciBrb21tdCBkaWUgTWF1c==, Base64::decode returns NULL! With an external encoder, I get the string SGllciBrb21tdCBkaWUgTWF1cw== for the same message and Base64::decode returns the right string. I used the binary distribution. Regards, Andreas --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
