My program is written in VS under Windows and uses GitHub. Why is the console output displaying garbled Chinese characters? #10759
Unanswered
xengine-qyt
asked this question in
General questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My project's build option is Unicode, but the character set in the code is all ANSI, meaning char is used, not wchar_t. All the code files are saved as UTF-8 BOM. The same code can output Chinese characters correctly in the console on Ubuntu 22.04 and macOS 13. Why can't it display correctly on the Windows platform?
Beta Was this translation helpful? Give feedback.
All reactions