diff --git a/Source/Core/Common/Logging/ConsoleListenerWin.cpp b/Source/Core/Common/Logging/ConsoleListenerWin.cpp index 4dca963757..b28c662bde 100644 --- a/Source/Core/Common/Logging/ConsoleListenerWin.cpp +++ b/Source/Core/Common/Logging/ConsoleListenerWin.cpp @@ -5,6 +5,7 @@ #include #include "Common/Logging/ConsoleListener.h" +#include "Common/StringUtil.h" ConsoleListener::ConsoleListener() { @@ -16,5 +17,5 @@ ConsoleListener::~ConsoleListener() void ConsoleListener::Log(LogTypes::LOG_LEVELS level, const char* text) { - ::OutputDebugStringA(text); + ::OutputDebugStringW(UTF8ToUTF16(text).c_str()); }