Re: [xml] problem with xmlNewText and encodings

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


Daniel Veillard      | Red Hat
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]