HOWTO: Display Graphic Chars on Chinese & Korean Windows

Last reviewed: August 21, 1997
Article ID: Q171153
The information in this article applies to:
  • Microsoft Win32 Software Development Kit (SDK) on the following platforms: - 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".
Keywords          : intlfont kbenv
Platform          : NT Win95 WINDOWS
Issue type        : kbhowto


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: August 21, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.