In my application i used CMDIFrameWnd to create main window. When i set the title of this window using UTF8 characters it shows ???.
But when i change locale of my system to say japanese and try to set title in japanes it shows correctly.

Also in the main window when i create new view and set the title of that view in japanese , the title gets displayed correctly with English locale also.

Can anyone tell me why this happens? And what is the solution for this?

Thanks in advance ,