Skip to content

Instantly share code, notes, and snippets.

@larsiusprime
Created October 4, 2017 18:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save larsiusprime/2eee219d6d294ff652fd011d7127839b to your computer and use it in GitHub Desktop.
Save larsiusprime/2eee219d6d294ff652fd011d7127839b to your computer and use it in GitHub Desktop.
UTF8 bug?
char* text = GetSomeTextInUTF8Format();
std::wstring* result = new std::wstring (text, text + strlen (text));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment