Microsoft KB Archive/250278
INFO: Windows 2000 Has a Full Unicode IME interface
The information in this article applies to:
- Microsoft Win32 Software Development Kit (SDK), on platform(s):
- the operating system: Microsoft Windows 98
- the operating system: Microsoft Windows 2000
Microsoft Windows NT, Microsoft Windows 2000, and Microsoft Windows 98 support a Unicode interface for the Input Method Editor (IME), in addition to the American National Standards Institute (ANSI) interface that was originally supported by Microsoft Windows 95. Windows 98 supports all the Unicode functions except ImmIsUIMessage. Also, all the messages in Windows 98 are ANSI-based.
There are two issues involved with Unicode handling and the IME:
- The Unicode versions of IME routines return the size of a buffer in bytes rather than 16-bit Unicode characters.
- The IME normally returns Unicode characters (rather than the double-byte character set [DBCS]) in the WM_CHAR and WM_IME_CHAR messages.
Use the RegisterClassW function to cause the WM_CHAR and WM_IME_CHAR messages to return Unicode characters in the wParam parameter, rather than DBCS characters. This function is available only under Windows NT and Windows 2000; it is stubbed out in Windows 95 and Windows 98.
Additional query words:
Keywords : kbIME kbSDKPlatform kbLocalization kbGrpDSIntl kbDSupport
Issue type : kbinfo
Technology : kbWin32SDKSearch kbAudDeveloper kbSDKSearch kbWin32sSearch
Last Reviewed: December 7, 2000