64 - bit application can not correctly display variable in Chinese characters:
32-bit programs can correctly display variable in Chinese characters:
Although finally shows the result is correct, but in 64 at the debugging, always can't see the Chinese string value, affect the efficiency of the debugging, and I found xe8 in a lot of the value of a variable, especially in database can in single-step tracking debugging, according to a class of members, the value of a variable, it will affect the efficiency of the debugging, c + + builder can 2010, feeling after the upgrade of these problems, please look at each master can solve, thank you!
CodePudding user response:
It seems that this is a 64 - bit compiler bugwould wbuf [128].
String ustr="Chinese shows 1234";
Wcscpy (wbuf, ustr c_str ());
I tried wbuf can display correctly
CodePudding user response:
The to ksrsoftCodePudding user response:
The to ksrsoftWould be in a 64 - bit compiler, can show Chinese, but 64 char or not, it doesn't seem that a 64 - bit compilers support the old way
CodePudding user response:
Looking forward to the new optimization