I'm trying convert some strings from ASCII to UTF8.
And, i searched many things, but i can't found it.
So i coded this.
std::string ASCII("ASCII string");
auto utf8 = boost::locale::conv::to_utf<char>(ansi, std::locale("en_US.UTF8"));
Is this right? on my system this is dosen't work.
Please, help me.
Thanks.