开发者

How to decode string on c++

开发者 https://www.devze.com 2022-12-22 10:20 出处:网络
How to decode string in c++. for example utf8 to cp1251 or koi8-r to 开发者_JAVA技巧utf8C++ has no native support for performing such conversions. You could look at ICU library.

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

精彩评论

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