Re: [xml] xmlCharEncoding problem



On Tue, Sep 27, 2005 at 04:57:44PM +0200, harry_b mm st wrote:
Hi Daniel,

attached is a little C program, which is, what my application does. It runs 
well on my Debian box and fails on the Fedora machine.

I compiled the code with:
 # gcc -I/usr/include/libxml2 -lxml2 -o xmltest xmltest.c

On Fedora, the little program exits with the message:
bad encoding result: 0

  works for me.

Fedora means very nothing as is for debugging, there have been 
4 versions of Fedora Core released, plus there is the updates, etc ...
Similary "Debian" is useless too, there are many versions with different
libxml2 releases !

I hope that is of some use. :-)

  Update your libxml2 version on your fedora machine, I assume it's
behind and you're hitting a bug which was fixed in 2.6.16.
  2.6.16 release notes says:
    "encoding conversion functions return values"

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]