Re: [xml] encoding problems using xmlSaveFormatFileTo()

On Wed, Jan 09, 2002 at 11:33:20AM +0100, Henke, Markus wrote:
<?xml version="1.0" encoding="iso-8859-1"?>
<aNode>Some content &lt; &amp; &gt; aou 䶼 AOU Ä-Ü ß Ã¼öä </aNode>

So, some of the german umlaute are encoded correctly, some not (but
and some as well as (!).
Debugging shows that xmlEncodeEntitiesReentrant() correctly replaces the
german umlaute with their character references, so i've thought about the
xmlCharEncodingHandlerPtr parameter in xmlOutputBufferCreateIO(),
but the library reference manual keeps silent about it...
I've hoped that passing NULL to xmlOutputBufferCreateIO() would invoke the
libxml default encoding handler!? Is this the mistake or something else is
going wrong?

  Seems related to bug #67229 which I hadn't time to fix yet


Daniel Veillard      | Red Hat Network
veillard redhat com  | libxml Gnome XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]