[ https://issues.apache.org/jira/browse/XERCESC-2002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13479199#comment-13479199 ]
Alberto Massari commented on XERCESC-2002: ------------------------------------------ Try with a) writing the string to transcode using escape characters ("\x80") and b) printing the single XMLCh character instead of going through CsEws::XmlChToString so that we can rule out other possibilities. If that fails, check which transcoder has been selected when building Xerces, because that changes what is considered the default locale > XMLString::transcode for multi-byte characters are returning null on Linux > --------------------------------------------------------------------------- > > Key: XERCESC-2002 > URL: https://issues.apache.org/jira/browse/XERCESC-2002 > Project: Xerces-C++ > Issue Type: Bug > Components: Miscellaneous > Affects Versions: 2.7.0 > Reporter: Ratnesh Nath > Priority: Critical > > XMLCh *tag1 = XMLString::transcode("test-in-english"); > Printing: CsEws::XmlChToString(tag1).c_str()); >>>>>>> output is : > test-in-english > XMLCh *tag2 = XMLString::transcode("ã«ã¯"); > Printing: CsEws::XmlChToString(tag1).c_str()); >>>>>>> output is : <<< NULL -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: c-dev-h...@xerces.apache.org