Re: [xml] Character encodng cleanup

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?

Peter Jacobi

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