Follow-up Comment #3, bug #13926 (project wesnoth):
All strings in wesnoth should be in utf-8 while ofstream etc on windows
expect filenames to be in native 8-bit encoding. That encoding depends on
system settings. The savegame code recodes filenames to native encoding using
winapi calls, but this conversion is lossy. E.g. you won't be able to save
with japanese filenames if your native encoding is cp1251. The only
satisfactory way of fixing that is to use unicode versions of winapi
calls(CreateFileW, etc). This problem doesn't arise on POSIX platforms
because most of them use utf-8 as their native encoding.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?13926>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs