Closed CRC32EX closed 1 year ago
According to https://docs.microsoft.com/en-us/cpp/c-runtime-library/country-region-strings?view=msvc-170 Japanese is not actually a valid "language string", which surprised me.
I'm sorry, It's not cpprestsdk
side problem. I think.
Remove this line
std::locale::global(std::locale("Japanese"));
and, use these APIs to emit Japanese strings to console. Solved.
MultiByteToWideChar
WideCharToMultiByte
ref: https://nekko1119.hatenablog.com/entry/2017/01/02/054629
Steps to reproduce this issue
vcpkg.json
Source.cpp
connected
not appear.Possible solution
Remove this line works successfully. I don't know why.
Environment