The question is how to convert wstring to string?
I have next example :
#include #include int main() { std::wstr
#include namespace lcv = boost::locale::conv; inline std::wstring fromUTF8(const std::string& s) { return lcv::utf_to_utf(s); } inline std::string toUTF8(const std::wstring& ws) { return lcv::utf_to_utf(ws); }