0ad/source
Ykkrosh e06a7b37d8 Convert debug_printf to take UTF-8 strings instead of wchar_t.
This fixes the problem where passing a non-ASCII string to
debug_printf(L"%hs", s) caused vswprintf_s to fail on Linux (because it
doesn't know what encoding the char* is meant to have). Now debug
messages will remain as UTF-8 until they reach the OS.

Fixes #3021.

This was SVN commit r16332.
2015-02-14 01:45:13 +00:00
..
collada Remove checks for unsupported GCC versions (<4.6). 2015-01-24 20:37:07 +00:00
graphics Convert debug_printf to take UTF-8 strings instead of wchar_t. 2015-02-14 01:45:13 +00:00
gui Convert debug_printf to take UTF-8 strings instead of wchar_t. 2015-02-14 01:45:13 +00:00
i18n Automatically replace %hs/%ls with %s in CLogger format strings. 2015-01-22 20:36:24 +00:00
lib Convert debug_printf to take UTF-8 strings instead of wchar_t. 2015-02-14 01:45:13 +00:00
lobby Switch to std::shared_ptr and std::weak_ptr. 2015-01-25 03:10:58 +00:00
maths Improve PickEntitiesAtPoint 2015-01-01 23:05:26 +00:00
mocks More FreeBSD build fixes. 2012-01-30 06:21:11 +00:00
network Convert debug_printf to take UTF-8 strings instead of wchar_t. 2015-02-14 01:45:13 +00:00
pch Switch to std::shared_ptr and std::weak_ptr. 2015-01-25 03:10:58 +00:00
ps Convert debug_printf to take UTF-8 strings instead of wchar_t. 2015-02-14 01:45:13 +00:00
renderer Convert debug_printf to take UTF-8 strings instead of wchar_t. 2015-02-14 01:45:13 +00:00
scriptinterface Convert debug_printf to take UTF-8 strings instead of wchar_t. 2015-02-14 01:45:13 +00:00
simulation2 Convert debug_printf to take UTF-8 strings instead of wchar_t. 2015-02-14 01:45:13 +00:00
soundmanager Convert debug_printf to take UTF-8 strings instead of wchar_t. 2015-02-14 01:45:13 +00:00
third_party Remove checks for unsupported GCC versions (<4.6). 2015-01-24 20:37:07 +00:00
tools Convert debug_printf to take UTF-8 strings instead of wchar_t. 2015-02-14 01:45:13 +00:00
contributors.txt Ticket #2127 - Performance and style improvements in scriptinterface. 2013-09-16 19:10:06 +00:00
main.cpp Automatically convert all CLogger format strings from wchar_t* to char*. 2015-01-22 20:31:30 +00:00
test_setup.cpp CLogger: Use cppformat instead of sys_vswprintf. 2015-01-22 20:30:05 +00:00