Hi,
I have written a program (among other things) takes text as input from a dialog. This text is saved and displayed in a view. Now I am trying to make my program work with unicode characters. To be precise: I use the japanese IME on an English version of Windows 2k. In a sample program I have 2 edit boxes, one for input and one for displaying, and a transfer button. The text from box one is put into a CString and this CString is displayed in box 2. I tried with CEdit and with CRichEditCtrl. I can input nice Japanese characters, but the output is just "????". I defined _UNICODE for my project. It works for the English alphabet.
Does anybody have any experience with this? Any suggestion is welcome.
Thanks in advance,
Branko
P.S. I turned on the option to display unicode characters in the debugger, but there also I see just "??"
I have written a program (among other things) takes text as input from a dialog. This text is saved and displayed in a view. Now I am trying to make my program work with unicode characters. To be precise: I use the japanese IME on an English version of Windows 2k. In a sample program I have 2 edit boxes, one for input and one for displaying, and a transfer button. The text from box one is put into a CString and this CString is displayed in box 2. I tried with CEdit and with CRichEditCtrl. I can input nice Japanese characters, but the output is just "????". I defined _UNICODE for my project. It works for the English alphabet.
Does anybody have any experience with this? Any suggestion is welcome.
Thanks in advance,
Branko
P.S. I turned on the option to display unicode characters in the debugger, but there also I see just "??"