[...]
I traced the code again and again but nothing special happened. You
called string_convert and pass 0 as the length of the string, so in
string_convert_ext you calculates the length of the string with
STRLEN, then call iconv_string, last iconv. There is nothing wrong
with the length anywhere. So... Maybe it is still iconv's fault.

Sorry all. I did more tests and searched more documents and found that
it was a bug of libiconv, not gvim. The problem occurs only when
converting gb2312 to gbk. I'm trying to debug libiconv...

[...]


Ashamed

Edward L. Fox

Reply via email to