On Wed, Oct 18, 2006 at 12:40:26PM -0700, Elenice wrote: > i already read this page, but, unfortnatly i didin't understand about > encoding iso-8859-1, becouse this is the encoding that i'm using, and i set > all the variables of my OS to this encoding iso-8859-1, and a thought that i > would get took back the original character that was sent in the xml.
No, libxml2 APIs are using UTF-8, the reasons are explained in that page. You can convert the strings to another encoding if needed but libxml2 won't do that by itself. Function to convert from UTF-8 to ISO 8859 1 is here http://xmlsoft.org/html/libxml-encoding.html#UTF8Toisolat1 Daniel -- Red Hat Virtualization group http://redhat.com/virtualization/ Daniel Veillard | virtualization library http://libvirt.org/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ _______________________________________________ xml mailing list, project page http://xmlsoft.org/ [email protected] http://mail.gnome.org/mailman/listinfo/xml
