dcbishop / g3test

An OpenGL 3/4 core profile experimenting framework.
6 stars 0 forks source link

Investigate UTF-8 on Windows #17

Open dcbishop opened 12 years ago

dcbishop commented 12 years ago

Keeping things internally in UTF-8 seems the best bet but otherwise just change everything over to wstring/wchar_t.

printf => wprintf for console.cpp debug/logging output.

Something like "ifstream file(filename.c_str());" probably needs to be have the name converted to wchar_t via codecvt and then used with wifstream to properly support unicode file names in ResourceManager.

dcbishop commented 11 years ago

http://www.utf8everywhere.org/