Added the post explain solution,
Above Settings such as the following:
Project menu - project properties (last) - configuration properties - regular - project defaults - character set, use the Unicode character set,
OK, but still garbled words, Chinese is therefore consider file coding issues,
Use notepad + + coding view this file, as utf-8, and other documents encoded as GB2312;
In notepad + + will be garbled CPP file modification for GB2312, ANSI code, problem solved!
CodePudding user response:
UP, thanks for sharing, perhaps after use, markingCodePudding user response:
CodePudding user response:
For computer no noise, only the binary bytes; To the human brain is gibberish, GBK: 0 xb0 0 xa1, Unicode - 16 LE: 0 x4a 0 x55, Unicode - 16 BE: 0 x55 0 x4a, utf-8 8-0 x95 xE5 0 0 x8aIt is recommended to use software COnvertZ transcoding,
CodePudding user response:
Look at the title will know how to say upstairs, see below how to sayCodePudding user response:
Dobzhansky