[
https://issues.apache.org/jira/browse/XERCESC-2002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13479224#comment-13479224
]
Alberto Massari commented on XERCESC-2002:
------------------------------------------
No, I am saying not to use non-ASCII characters in a C++ source file, as you
never know how they are read by the compiler; in your case, it should be
something like \xC3\xA3\xC2\xAB\xC3\xA3\xC2\xAF (assuming you want to transcode
the string ã«ã¯ )
> 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: [email protected]
For additional commands, e-mail: [email protected]