HOWTO: Display Graphic Chars on Chinese & Korean Windows

ID: Q171153


The information in this article applies to:
  • Microsoft Win32 Software Development Kit (SDK), on platform(s):
    • Windows 95
    • Windows NT


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".

Additional query words:

Keywords : kbenv intlfont
Version : WINDOWS:
Platform : WINDOWS
Issue type : kbhowto


Last Reviewed: January 14, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.