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
differently)
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
    http://bugzilla.gnome.org/show_bug.cgi?id=67229

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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