Skip to content

Commit 9a95557

Browse files
committed
citicore: console: fix regression breaking non-BMP Unicode characters on Windows introduced in da11e5d
1 parent 67f9d5c commit 9a95557

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/client/citicore/console/Console.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ ProgramArguments Tokenize(const std::string& lineUtf8)
269269
#ifndef _MSC_VER
270270
static std::wstring_convert<std::codecvt_utf8<typename ProgramArguments::TCharType>, typename ProgramArguments::TCharType> converter;
271271
#else
272-
static std::wstring_convert<std::codecvt_utf8<wchar_t>, wchar_t> converter;
272+
static std::wstring_convert<std::codecvt_utf8<uint32_t>, uint32_t> converter;
273273
#endif
274274

275275
try

0 commit comments

Comments
 (0)