Use UTF-8 instead of narrow
authorest31 <MTest31@outlook.com>
Tue, 7 Jul 2015 03:55:07 +0000 (05:55 +0200)
committerest31 <MTest31@outlook.com>
Wed, 8 Jul 2015 08:12:44 +0000 (10:12 +0200)
commitb0784ba87168e24b0533fc8718a0157cda5ea405
tree24ca04bbfe2a13193400493e1bde5e520c589e03
parente234d8b3786d5adfbdf3d1a2123c3e8d91c21880
Use UTF-8 instead of narrow

Use wide_to_utf8 and utf8_to_wide instead of wide_to_narrow and narrow_to_wide at almost all places.
Only exceptions: test functions for narrow conversion, and chat, which is done in a separate commit.
19 files changed:
src/client/clientlauncher.cpp
src/content_cao.cpp
src/fontengine.h
src/game.cpp
src/gettext.cpp
src/gettext.h
src/guiEngine.cpp
src/guiFileSelectMenu.cpp
src/guiPasswordChange.cpp
src/guiTable.cpp
src/hud.cpp
src/network/clientpackethandler.cpp
src/network/serverpackethandler.cpp
src/script/lua_api/l_mainmenu.cpp
src/script/lua_api/l_server.cpp
src/server.cpp
src/unittest/test_serialization.cpp
src/util/string.cpp
src/util/string.h