Re: [xml] Character encodng cleanup
- From: Daniel Veillard <veillard redhat com>
- To: Peter Jacobi <pj walter-graphtek com>
- Cc: xml gnome org
- Subject: Re: [xml] Character encodng cleanup
- Date: Sun, 20 Jul 2003 07:09:47 -0400
On Sun, Jul 20, 2003 at 03:19:13AM +0200, Peter Jacobi wrote:
Hi Daniel,
I've found (unfortunately) another use of the deemed-to-be-obsolete
charset field:
In parserInternals.c, HTMLparser.c and DOCBparser.c, when an
invalid UTF-8 encoding is detected, ctxt->charset is set to
XML_CHAR_ENCODING_8859_1.
Given that this would indicate 8859-1 encoding of the in-memory
strings (as leading researchers tend to believe), this doesn't seem
to be that useful.
Do you have any test case where this does anything good?
I can't think of any, but I don't see why leaving it there would be
a problem either.
I think there is another use in the XInclude module.
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]