how to convert strings to ISO-8859-1 in C/C++
i want to convert GBK strings to ISO-8859-1.
before, i use iconv library, but iconv always return -1, and errno is Invalid or incomplete multibyte or wide character.
help me... What should I to do? thx
how to convert strings to ISO-8859-1 in C/C++
===

i want to convert GBK strings to ISO-8859-1.
before, i use iconv library, but iconv always return -1, and errno is Invalid or incomplete multibyte or wide character.
help me... What should I to do? thx