This works but there may be times where my program runs on a double byte OS such as Chinese or Korean and the conversion from wstring to string above will loose the characters.
How can I load a path such as the following:
wstring wPathChinese = L"C:\我明天要去上海\在这里等我\MyProgram";
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm using TinyXML2 to load an xml document from disk.
The path of the file (configFileName) is a std::wstring and I am converting it to string like so:
This works but there may be times where my program runs on a double byte OS such as Chinese or Korean and the conversion from wstring to string above will loose the characters.
How can I load a path such as the following:
wstring wPathChinese = L"C:\我明天要去上海\在这里等我\MyProgram";