Click here to Skip to main content
15,069,133 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
MY PC region is Russian.
First the language region of my pc is china and i develop the project on this region, and the project setting is "_MBCS" on "C/C++" tab. Then i change the language region the language region to russian. After i use GetWindowText() of the textbox to get text, i wirte the text to a .txt file. I found the charset is not russian charset, but .txt file show the right russian char, in fact the code of the text is not right. Can you tell me which is the charset?
Posted
Comments
Member 4391335 29-Aug-10 9:43am
   
Can you help me ? Why nobody answer my question?

1 solution

Look at "Properties"->"Configuration Properties"->"General"->"Character Set". There are "Use Multi-Byte Character Set", "Use Unicode Character Set" and "Not Set". I think you will find the answer.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900