Re: [xml] encoding problems using xmlSaveFormatFileTo()
- From: Daniel Veillard <veillard redhat com>
- To: "Henke, Markus" <Markus_Henke ordat com>
- Cc: "'xml gnome org'" <xml gnome org>
- Subject: Re: [xml] encoding problems using xmlSaveFormatFileTo()
- Date: Wed, 9 Jan 2002 05:54:09 -0500
On Wed, Jan 09, 2002 at 11:33:20AM +0100, Henke, Markus wrote:
<?xml version="1.0" encoding="iso-8859-1"?>
<aNode>Some content < & > 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]