Leonard Rosenthol on Sun, 9 Dec 2001 16:20:11 +0100


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

Re: [PLUG] xml vs xml2


At 12:23 PM 12/9/2001 +0100, Jeff Abrahamson wrote:
The following causes a character out of range error:

        /* xmlSetProp(newxml, "last_name", "Müller"); */
        xmlSetProp(newxml, "last_name", "Muller");

That is, the first line causes an error at runtime, the second does
not. (The difference is whether or not I use an iso-8859-1 encoded
u-umlaut.)

Is your output document defined to be using iso-8859-1 encoding, or is it defined to be using UTF-8 (the default)??



Leonard


______________________________________________________________________ Philadelphia Linux Users Group - http://www.phillylinux.org Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce General Discussion - http://lists.phillylinux.org/mail/listinfo/plug