Re: [xml] Bug in UTF8ToUTF16LE?
- From: Daniel Veillard <veillard redhat com>
- To: Stuart Dootson <stuart dootson gmail com>
- Cc: xml gnome org
- Subject: Re: [xml] Bug in UTF8ToUTF16LE?
- Date: Tue, 28 Sep 2004 07:56:04 -0400
On Tue, Sep 28, 2004 at 12:51:51PM +0100, Stuart Dootson wrote:
The specification for xmlCharEncodingOutputFunc says that the function
will return 'the number of bytes written, -1 if lack of space, or -2
if the transcoding failed'. UTF8ToUTF16LE (which is the implementation
of that interface for the UTF16LE encoding) appears to return 0 on
success (appears to be confirmed by an examination of the 2.6.13
source code).
Having said that, several (I didn't check them all) of the converter
functions look like they return 0 on success - is it the documentation
that's incorrect?
That should be fixed, could you bugzilla this ?
Daniel
--
Daniel Veillard | Red Hat Desktop team http://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]