CMDIFrameWnd title does not contain UTF8 data.

Discussion in 'MFC' started by Ruta, Jul 16, 2009.

  1. Ruta

    Ruta New Member

    Joined:
    Jul 16, 2009
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Hi,

    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 ,

    Ruta
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice