From: Daniel V. <vei...@re...> - 2004-05-04 14:18:44
|
On Tue, May 04, 2004 at 04:13:49PM +0200, Frederik Himpe wrote: > I have an XML document in ISO-8859-1 character set. When using libxml++= -2.6,=20 > the sax pasers crashes when it encounters a character with an accent (=E9= ) in=20 > the on_characters method. I'm using the Glib::ustring class. >=20 > With libxml++-1.0 on the same document, it did not crash, but the chara= cter=20 > was transformed in two (strange) characters.=20 At the libxml2 SAX level, the document is first converted to UTF8, so all character() callbacks should only see UTF8 and yes the =E9 will be converted into 2 bytes in that encoding. I cannot explain why this would crash though, this sounds a serious breakage. Daniel --=20 Daniel Veillard | Red Hat Desktop team http://redhat.com/ vei...@re... | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ |