Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/171153

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 11:29, 21 July 2020 by X010 (talk | contribs) (Text replacement - "&" to "&")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

HOWTO: Display Graphic Chars on Chinese & Korean Windows

Q171153



The information in this article applies to:


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





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 kbIntl kbOSWin2000 kbOSWin95 kbDBCS
Issue type : kbhowto
Technology : kbWin32SDKSearch kbAudDeveloper kbSDKSearch kbWin32sSearch


Last Reviewed: December 17, 2000
© 2001 Microsoft Corporation. All rights reserved. Terms of Use.