System:Win11 Chinese version
Hello，can you help me how to solve "Chinese Garbled(中文乱码)"？
When I run directly, Chinese in console is garbled
But when I run in debug:
it shows correct:
By the way, i try to change the cpp encoding to GBK, it shows correct by run directly
but run in debug is garbled:
Here are my config:
Global Encoding, Project Encoding , properties files: UTF-8
default is VS
how to sovle it by UTF-8 and shows correct?
I am looking forward to your help, thank you very much.