mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-20 03:24:59 +00:00
ConsoleListenerWin: Properly output console logging in UTF-16 so UTF-8 displays properly
This commit is contained in:
parent
5ea4f998c0
commit
eab086b880
1 changed files with 2 additions and 1 deletions
|
@ -5,6 +5,7 @@
|
|||
#include <windows.h>
|
||||
|
||||
#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());
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue