[Expat-discuss] Encoding issues in expat

Karl Waclawek karl@waclawek.net
Wed Jul 24 06:12:04 2002


> I am writing an XML file and using entities for special characters like the
> Euro and the trademark characters.
> My XML file uses the UTF-8 encoding.
> 
> This XML file is viewed correctly in IE 6.0 and when parsed by libxml and
> the Xerces XML parsers, the character conversion is correct.
> ie The Euro sign replaced with the numerical entity € in the XML file
> is correctly translated back to Euro by the libxml and the Xerces XML
> parsers.
> 
> What should i do to get the expat parser to translate the numerical entity
> € back to the Euro character.

It works fine for me.
What document are you using?
What version of Expat are you using?
How is it compiled, for UTF-8 or UTF-16 output?

Karl