Home > Software engineering >  Vs2010 AfxMessageBox show Chinese garbled? Added solution
Vs2010 AfxMessageBox show Chinese garbled? Added solution

Time:10-08

Posting before this post is to have http://bbs.csdn.net/topics/330266934#new_post said this problem, but it's wrong to see reply all,
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, marking

CodePudding 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 x8a

It is recommended to use software COnvertZ transcoding,

CodePudding user response:

Look at the title will know how to say upstairs, see below how to say

CodePudding user response:

Dobzhansky
reference 4 floor response:
to look at the title will know how to say upstairs, see below how to say



reference zhao4zhong1 reply: 3/f
for computer there is no noise, only 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 x8a

It is recommended to use software COnvertZ transcoding,

CodePudding user response:

  • Related