I want to extern libxml encoding to GB2312 on linux.
I found it that %outlen is just 45 and %inlen is 653 passed by
xmlCharEncodingInputFunc(unsigned char * out, int * outlen, const
unsigned char * in, int * inlen)
 when I use iconv to convert GB2312 to UTF-8.
And iconv returned -1.
Is %outlen should larger than %inlen?
How should I do?
_______________________________________________
libxml-devel mailing list
libxml-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/libxml-devel

Reply via email to