Fix encode problem On Windows

This commit is contained in:
LFsWang 2016-03-31 18:58:37 +08:00
parent 7e2c0c5371
commit acfa76aa38
5 changed files with 37 additions and 32 deletions

View file

@ -95,7 +95,7 @@ std::string CP1252ToUTF8(const std::string& str);
std::string SHIFTJISToUTF8(const std::string& str);
#ifdef _WIN32
std::string UTF16ToUTF8(const std::wstring& input);
std::wstring UTF8ToUTF16W(const std::string& str);
#ifdef _UNICODE