Re: [xml] encoding problem with iso-8859-1?



On Wed, Mar 20, 2002 at 11:48:16AM +0100, Morus Walter wrote:
Content-Description: message body text
Hi,

when I try to parse a document encoded in iso-8859-1 I get a
an error message, that the input is not proper UTF-8 although
the encoding is declared iso-8859-1:

  Okay this was a bug in the conversion routine from iso-8859-1 to
UTF8 when the target buffer was not big enough and the limit was
in the middle of the conversion of an input character. The handling
of that specific case was in error. The fix is very small, it is enclosed.

  thanks for the report,

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/

Attachment: enc.patch
Description: Text document



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