How to decode string in c++. for example utf8 to cp1251 or koi8-r to utf8
+3
A:
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.
Kirill V. Lyadvinsky
2010-03-11 12:46:50