How To Display Graphic Chars on Chinese & Korean Windows (171153)



The information in this article applies to:

  • Microsoft Platform Software Development Kit (SDK) 1.0, when used with:
    • Microsoft Windows 95
    • the operating system: Microsoft Windows NT
    • the operating system: Microsoft Windows 2000

This article was previously published under Q171153

SUMMARY

When an application tries to display extended ANSI (above Hex 80, graphic characters like double dagger, curly quotes, and etc.) characters on Chinese and Korean Windows 95 or Windows NT, these characters are actually displayed as double-byte characters.

MORE INFORMATION

For example, under Windows 95 Korean version, when you select the Times New Roman font, a word processor tries to display English text with curly quotes. As a result, the system displays Korean characters instead of curly quotes. The reason is that these extended area characters are also used as lead-byte for double-byte character sets.

To display the extended ANSI character correctly on Chinese and Korean Windows 95 or Windows NT, the Font Association of the system should be turned off. By default, Font Association is always on. To turn off the Font Association in your application, use CreateFontIndirect() with lfClipPrecision in LogFont set as 0x40. This doesn't have any effect on non- Font Association system.

You can also turn off the Font Association in your application at the user level by following these steps:

  1. Run Regedit.
  2. Set "No" for ANSI(00) in:
          HLM\System\CurrentSontrolSet\Control\fontassoc\Associated CharSet
  3. Reboot.
If you use Japanese Windows NT and Windows 95, you do not need to follow the methods discussed above. They are already enabled to display extended ANSI characters. Japanese Windows 95 doesn't have the Associated CharSet key and Japanese Windows NT 4.0 has the Associated CharSet key defaulted to "no".

Modification Type:MinorLast Reviewed:7/11/2005
Keywords:kbDBCS kbenv kbhowto kbIntl kbIntlDev KB171153 kbAudDeveloper