Microsoft KB Archive/179143

{|
 * width="100%"|

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

 * }

Q179143

-

The information in this article applies to:


 * Microsoft Win32 Software Development Kit (SDK), on platform(s):
 * the operating system: Microsoft Windows 95
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Professional

-

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 : kbIntl kbOSWin2000 kbSDKWin32 kbOSWin95

Issue type : kbhowto

Technology : kbWin32SDKSearch kbAudDeveloper kbSDKSearch kbWin32sSearch