Japanese Application

Hi

I developed an Jananese application in MFC (VS 7.2). When i run this application in Japanese Windows its working fine, if i run in other then japanese it display charactors.

How can i solve this problem

Manoj Jangid




Answer this question

Japanese Application

  • Tasha O.

    My app uses multi-byte character set to implement Chinese and the Chinese is not reliable on an English OS even if I call SetLocale - I have to run on a Chinese OS. I'm guessing there's something about having the correct Asian fonts loaded (appropriate for your language). SetLocale works great for most Western European languages, especially those that use the same code page as English (1252), and it allows me to change the language of my GUI at runtime (very cool!). All the string and dialog resources automatically return the correct (new) language after calling SetLocale.

    But back to the original question: I'd suggest looking into loading the correct Japanese language support fonts. Internet Explorer used to have a reference somewhere in the Options dialog that suggested Asian fonts, so that you could read, say, Japanese web pages.

  • PsychicDave

    hi bill thanx for your comment

    all fonts of japanese language are exist in font folder.

    Problem occurs when i change Control Panel--> Regional options --> change language in same OS.

    my application also using MBCS

    do u have any solution for this problem

    Manoj Jangid



  • Flavelle Ballem

    Sorry Jangid.

    the setlocale() function might give some hints, but I could be wasting you time again.


  • Mojo2000

    I haven’t really tried this stuff but the subject "Languages, Locales, and Keyboard Layouts" might help:

    http://msdn.microsoft.com/library/default.asp url=/library/en-us/winui/winui/windowsuserinterface/userinput/keyboardinput/aboutkeyboardinput.asp

    There are other subjects that you might need to look up like "globalization" and "localization".


  • Abdul Wajed

    No, sorry. I've never tried to actually accomplish what you are trying. I have always been able to require that my customers use the correct language OS. Displaying Chinese (or Japanese) on an English OS is not something I have tried.

  • ender080

    Sorry, this link is not helpful for this problem



  • João Pereira

    I'd agree with that, I always come across sites where I'm asked to install Russian or some other fonts.
  • Japanese Application