View Single Post
  #1 (permalink)  
Old February 1st, 2007, 11:25 AM
r_georg r_georg is offline
Registered User
 
Join Date: Feb 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Mangling Chinese Characters in a combo box

I have an urgent problem on my hands.
When I build a list of names (WCHAR) in a ComboBox that include Simplified Chinese, the drop-down displays the chinese characters correctly. However when I select an item containing the said characters it displays ??? for the first three characters (the fourth is correct), although the codes per each character in debug show the correct value. Writing the string on CBN_SELENDOK to a static text control yields the expected result (with some font tweaking though using mostly DONT_CARE). Writing it to an edit box or a list box yet again shows the ??? for the first three characters.
I am working in VC++ 6.0 Win32.
Anyone encountered something similar???
Any input is greatly appreciated.
Reply With Quote