[Expat-discuss] Charset trouble
Oriol
omagrane@anthill.es
Tue Nov 26 09:13:18 2002
Hello!
While parsing XML, expat always converts entity coded chars ("&#code;") to unicode, regardless of the charset I specified in XML_CreateParser (which is ISO-8859-1). So my application always shows every coded char in XML as a two-char string. Does the parser always encode to unicode? How can I solve it without compiling in unicode? Must I use a unicode-to-ansi conversion function and pass every returned string to it?
Thank you!
Oriol
More information about the Expat-discuss
mailing list