How to decode string on c++
How to decode string in c++. for example utf8 to cp1251 or koi8-r to 开发者_JAVA技巧utf8
C++ has no native support for performing such conversions. You could look at ICU library.
ICU is a mature, widely used set of C/C++ and Java libraries providing Unicode and Globalization support for software applications. ICU is widely portable and gives applications the same results on all platforms and between C/C++ and Java software.
Use libiconv
or icu
.
精彩评论