AW: [xml] encoding question
- From: "Mickautsch, Alfred" <alfred mickautsch schuler-ag com>
- To: <xml gnome org>
- Subject: AW: [xml] encoding question
- Date: Sat, 24 Apr 2004 11:50:43 +0200
My problem is complicated because of the following:
- My first tree is latin1 (ISO-8859-1)
This seems to be your problem. You cannot have a tree with
ISO-8859-1 encoding. The internal encoding of libxml2 is UTF-8
so all nodes you add to a tree MUST first be encoded in UTF-8.
You have to do the conversion to UTF-8 yourself, libxml2 will
not do it automatically.
Servus -- Alfred
] [Thread Prev