开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜