Jump to content
  • Advertisement
Sign in to follow this  

display korean (cjk) characters inside mfc dialog box resource

This topic is 5145 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello, This question regards localization of an mfc application. I create a base project from the MFC wizard in either Visual C++ 6.0 or .Net. On the 2nd page of the wizard I am asked what language I would like my resources to be in. I select Korean( For version 6.0 Korean must be added manually as it is not a default entry). I click Next to the remaining pages constructing a Multiple Document Interface (MDI). I execute the application and see all the menu resources in Korean characters which is what I want. When I click on the About box of the sample application I have created, the dialog appears with ?? marks where the Korean characters should be displayed. I understand in the resource editor of Visual C++ that it is limited to ascii characters and therefore I cannot view any of the korean characters from within the resource editor. I am compiling the project with the default option of _MBCS ( Multi byte character set). If I convert this preprocessor option to _UNICODE, the menus and the dialog resources are both displayed in korean. The problem is I need it to work with _MBCS. I don't understand why the application when using _MBCS can display menus correctly (ie. in Korean characters) but displays dialog resources such as Text labels and buttons with question marks. It is as though it has only been half implemented. I really need to be able to get the project to display using the _MBCS preprocessor as I will eventually need to display Korean characters in a large project and do not wish to convert it to unicode.(big job). I have changed the font of the dialog to various fonts such as Gulim ( Korean supported font) also the virtual font 'Ms Shell Dlg 2'. Thank you to everyone who can explaing to me what I am doing wrong or missing as to why a standard run of the mill MFC Wizard application only displays Korean characters in all the menu's but not in Dialog's or Frame resources. Thank you very much Virtualweb

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!