|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
On Sun, Dec 09, 2001 at 09:57:53AM -0500, Leonard Rosenthol wrote:
> 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)??
I'm using
ret = xmlSaveFileEnc("/tmp/names2.out.xml", doc, "ISO-8859-1")
It does flag the xml file as iso-8859-1, but the character in the file
is still wrong. And the range error still happens.
--
Jeff
Jeff Abrahamson <http://www.purple.com/jeff/>
Buy my boyfriend's new novel: The Big Book of Misunderstanding
<http://www.misunderstanding.net/buystuff.html>
______________________________________________________________________
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
|
|