Problem with XP application supporting Japanese & English together

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Joe (joseph.zazza.b_at_bayer.com)
Date: 06/22/04

  • Next message: David G: "Setting up or trying to"
    Date: 22 Jun 2004 14:07:24 -0700
    
    

    Hello
     I am involved in porting an application from Windows NT-E to XP-E,
    and have run into a problem displaying Japanese characters alongside
    English text.

     Note that this application is running on an embedded device, and
    users DO NOT have access to the OS at all. Users DO have the ability
    to change the applications language from within the application. A
    language change does not require a reboot, or the user to make any
    changes at the OS level. Note that this approach works beatifully on
    the NT-E 4.0 OS.

     Following the port all languages are displayed beatifully, all except
    for Japanese. Note that Japanese is the only language supported
    requiring Unicode / DBCS, and also note that this application is NOT
    currently Unicode compliant.
    But then again with NT-E, the Japanese IME and the SAME code base
    Japanese works beautifully. Why in the world would NT be "More Unicode
    compliant" or forgiving than XP?

     If I turn on support for Non-Unicode programs from Regional Options,
    the Japanese text is displayed using the font I expect (MS Mincho),
    however because this application displays a mix of both English text
    and Japanese characters along side one another (ie. not all strings
    are translated) when this OS switch is thrown the English characters
    are not displayed using the font I expect. When this switch is thrown
    I cannot display English text using the font I specify.

     Is anyone aware of a problem using certain ASCII type fonts to
    display English strings /characters while running with the OS
    configured to support Non-Unicode programs in Japanese?

     Also, is anyone aware of how I might programatically throw this
    "support for non-unicopde applications" switch?

    Thank You


  • Next message: David G: "Setting up or trying to"

    Relevant Pages

    • Display file in EUC japanese format
      ... Japanese characters. ... I want to dump them into a CEdit. ... The English characters display properly, the japanese do not. ...
      (microsoft.public.vc.mfc)
    • Re: XML::PARSER utf-8 and japanese characters
      ... > I am having problem writing Japanese characters. ... (english text and it's japanese translation). ... > I am having problem writing japanese text to a file. ...
      (comp.lang.perl.misc)
    • Re: Multiple Languages in Terminal Services
      ... When you mentioned "all English users are getting Japanese characters", does 'English' users see Japanese characters in that particular application only, or the entire desktop becomes japanese? ...
      (microsoft.public.windows.terminal_services)
    • Problem with XP application supporting Japanese & English together
      ... and have run into a problem displaying Japanese characters alongside ... however because this application displays a mix of both English text ... I cannot display English text using the font I specify. ...
      (microsoft.public.windowsxp.general)
    • Problem with XP application supporting Japanese & English together
      ... and have run into a problem displaying Japanese characters alongside ... however because this application displays a mix of both English text ... I cannot display English text using the font I specify. ...
      (microsoft.public.windowsxp.embedded)