pundog wrote:
I've got an xml file the contains some Hebrew characters instead of English.
I made sure that i saved the file in UTF-8 encoding (using VS.Net), and i
also added an xml deceleration line with the encoding attribute set to
UTF-8.
when i parse the xml, i get an XMLCh* that contains my Hebrew characters,
and when i browse it's value in the debugger, i can see the actuall Hebrew
characters. However, when i try to convert the XMLCh* to a std::string using
the "transcode" method, my string is filled with "????" characters instead
of Hebrew.
You need to read the documentation regarding what transcode() does. Since
it transcodes to the local code page, it's likely your code page doesn't
support those characters. You probably want to transcode to UTF-8, instead
of the local code page.
If you search the archives of the mailing list, you'll find many postings
regarding this issue.
Dave