Re: [xml] question about encoding
- From: Daniel Veillard <veillard redhat com>
- To: Thomas Dold <Thomas Dold gmx de>
- Cc: xml gnome org
- Subject: Re: [xml] question about encoding
- Date: Wed, 7 Mar 2001 15:59:34 -0500
On Wed, Mar 07, 2001 at 09:25:05PM +0100, Thomas Dold wrote:
Ok. Did it like you said. But even if the string "München" is converted to
UTF-8, I get an error when saving the document with xmlSaveFileEnc with
encoding "ISO-8859-1" (document not in UTF-8). Why?
As you said when creating the document:
doc->encoding = xmlStrDup((xmlChar*)"ISO-8859-1");
Don't do that, it's simply wrong ..
It will probably fix the problem. If no, well try debugging because
I don't know where this fails.
Daniel
--
Daniel Veillard | Red Hat Network http://redhat.com/products/network/
veillard redhat com | libxml Gnome XML 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]