Re: [xml] Res: Help with encoding

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


Red Hat Virtualization group
Daniel Veillard      | virtualization library
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]