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

ID: Q179143

The information in this article applies to:

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:

Platform          : winnt
Issue type        : kbinfo

Last Reviewed: April 2, 1998