[xml] libxml2, howto force encoding
- From: Matthias Knöfel <matk go cc>
- To: xml gnome org
- Subject: [xml] libxml2, howto force encoding
- Date: Sun, 23 Mar 2003 13:33:19 +0100
Is there a possibility to force a special encoding while parsing a xml file?
I have to parse files with apparently false encoding declaration :(
They are declared as <?xml version="1.0" encoding="UTF-8"?> but includes
characters from the iso-8859-1 charset. So the xmlParseFile() function
will abort of course. Any ideas to parse these files without modification
of the xml-files?
thanks in advance
Matthias Knoefel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]