Click here to Skip to main content
15,889,849 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I have an app which is very old and long. It was developed initially using ASCII character set. It is now being used in parts of the world where the character set is UNICODE. I have a file which contains all the text for the dialogs and menus. Here comes the problem when I change the charecter set in the text file to UNICODE, I can read the UNICODE characters but I cannot get them into the dialog using CWnd::SetWindowText. Anyone got any ideas how I can make the dialog and menus accept UNICODE characters without having to set the charectar set to UNICODE?

Any help gratefully appreciated
McSam
Posted
Comments
CPallini 20-May-14 5:31am    
Why you don't want to change the character set to UNICODE?
Richard MacCutchan 20-May-14 7:32am    
Change the app to Unicode; it will save time and effort in the long run.

1 solution

From what you write, I suppose you are not modifying your code properly. Have a look at this article[^] for instance for good example about how to implement UNICODE-aware code.
 
Share this 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