HOWTO: Display IE Unicode Language Add-ons Under Windows 95

ID: Q179143


The information in this article applies to:
  • Microsoft Win32 Software Development Kit (SDK)
    on the following platforms: Win95


SUMMARY

Since the release of Internet Explorer language add-ons (for example, Japanese, Chinese, and Korean), it has been possible to display these Far East characters on English Windows 95. This article demonstrates how you can also display these Far East characters in your applications.


MORE INFORMATION

The fonts installed by Internet Explorer add-ons are Unicode fonts. If the system is already installed with the proper Internet Explorer add-ons, applications can use these Unicode fonts to display the Far East language characters.

To do this, use the TextOutW() function to display Unicode characters. Following is an example for Simplified Chinese characters:


   strcpy(lf.lfFaceName, "KaiTi_GB2312");
   lf.lfCharSet = GB2312_CHARSET;
   lf.lfHeight = 16;
   hfont = CreateFontIndirect(&lf);
   TextOutW(hdc, 10,10, UStr , 2); 
If you need to use the Traditional Chinese character set in your application, the font and character set name and the code point should be changed accordingly (GB2312_CHARSET -> CHINESEBIG5_CHARSET). Make sure you select the correct font into your DC when wm_paint time.

Additional query words:

Keywords :
Version : WINDOWS:
Platform : WINDOWS
Issue type : kbinfo


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