Re: [xml] problem with xmlNewText and encodings
- From: Daniel Veillard <veillard redhat com>
- To: Christian Parpart <trapni gentoo org>
- Cc: xml gnome org
- Subject: Re: [xml] problem with xmlNewText and encodings
- Date: Fri, 13 Jan 2006 17:35:17 -0500
On Fri, Jan 13, 2006 at 09:19:55PM +0100, Christian Parpart wrote:
However, the text I pass to xmlNewText/xmlNewTextChild is iso-8859-15, so, how
do I tell it to properly handle encodings here?
You can't do that you're violating the API ! You must pass UTF8 strings
for xmlChar * parameters ! See http://xmlsoft.org/encoding.html
Daniel
--
Daniel Veillard | Red Hat http://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]