|
-
December 27th, 2005, 01:03 AM
#1
wprintf doesnot print Chinese character
When I include the following line of code in the main method,
--------------------------------
wprintf(L"China,in Chinese,is %s",L"中国");
--------------------------------
it compiles.
At run time,it prints: "China,in Chinese,is ".
But,I expect it prints : "China,in Chinese,is 中国".
When I compile and run the code in another computer,
it prints:"China,in Chinese,is 中国".
I cannot find any difference between IDE settings and source code.
I use WindowXP,visual studio .net 2003.
Is there anything I should check?
Thanks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|