Created
May 31, 2017 06:09
-
-
Save mazhar-ansari-ardeh/ef0d5c37d174c1dfb81067e167486ada to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
std::wstring wstr = L"123"; | |
std::wstring_convert<std::codecvt_utf8<wchar_t>, wchar_t> cv; | |
std::string str = cv.to_bytes(wip); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment