Tell me how under Linux in C ++ to convert from one encoding to another. For example, from cp1251 to utf8 and vice versa.

    1 answer 1

    There is such a library - iconv, comes in standard packages of most distributions. Able to translate encodings in different directions. As a code example I found this .

    More examples:

    • Thank you very much for the help) you just save me) - boikov