Merge pull request #4253 from wwylele/string-util-cleanup

common/string_util cleanup
This commit is contained in:
bunnei
2018-10-01 17:52:58 -04:00
committed by GitHub
4 changed files with 7 additions and 158 deletions

View File

@ -263,7 +263,7 @@ private:
template <typename T>
void OpenFStream(T& fstream, const std::string& filename, std::ios_base::openmode openmode) {
#ifdef _MSC_VER
fstream.open(Common::UTF8ToTStr(filename).c_str(), openmode);
fstream.open(Common::UTF8ToUTF16W(filename).c_str(), openmode);
#else
fstream.open(filename.c_str(), openmode);
#endif