Re: [xml] Character encodng cleanup

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

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 Veillard      | Red Hat Network
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]