How To Display IE Unicode Language Add-ons Under Windows 95 (179143)



The information in this article applies to:

  • Microsoft Platform Software Development Kit (SDK) 1.0, when used with:
    • the operating system: Microsoft Windows 95

This article was previously published under Q179143

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.

Modification Type:MinorLast Reviewed:7/11/2005
Keywords:kbhowto kbIntl kbIntlDev KB179143