[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [xml] xmlDocDumpMemoryEnc error
- From: Daniel Veillard <veillard redhat com>
- To: spinmar interfree it
- Cc: xml gnome org
- Subject: Re: [xml] xmlDocDumpMemoryEnc error
- Date: Tue, 7 Jan 2003 06:21:15 -0500
On Tue, Jan 07, 2003 at 11:03:43AM -0000, spinmar interfree it wrote:
>
> Hi,
>
> I have found a strange error with xmlDocDumpMemoryEnc.
>
> I build a XML file getting informations from different sources: at the end I'd like to turn it into a char* with ISO-8859-1 encoding.
>
> So I call:
>
> xmlDocDumpMemoryEnc(doc, &bufptr, &size, "ISO-8859-1");
>
> and the error I obtain is:
>
>
> output conversion failed due to conv error
> Bytes: 0xC3 0x3C 0x2F 0x41
> xmlOutputBufferFlush: encoder error
>
> As if the bytes 0xC3 0x3C 0x2F 0x41 take us to the error.
> Which characters are they?
> Every time I have these bytes I obtain this error.
>
> How can I discover these bytes?
I can't provide more context information. The error is raised by the
iconv library when UTF8 serialized output is progressively transformed
to the target encoding.
> Can someone help me?
You pasted in the tree substrings which were not UTF8, check the
input you store in the tree for proper encoding. I assume you have
read and understood:
http://xmlsoft.org/encoding.html
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]