You are currently offline, waiting for your internet to reconnect

FIX: WideCharToMultiByte Function Does Not Convert Japanese Composite Characters Correctly

This article has been archived. It is offered "as is" and will no longer be updated.
When the source string that is supplied to the WideCharToMultiByte function contains a composite string for the last character, and the WC_COMPOSITECHECK flag is set, the composite character is not converted correctly.

Although WC_COMPOSITECHECK is specified, the destination string of the converted character is not null-terminated and the result does not contain the precomposed form of the string.
To work around this problem, increase the size of the buffer that WideCharToMultiByte returns by 1.

Hotfix Information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, submit a request to Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.


You must have Microsoft Windows 2000 Service Pack 4 installed on your computer before you install this hotfix.

Hotfix Replacement Information

This hotfix does not replace any other hotfixes.

File Information

The English version of this hotfix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
   Date         Time   Version        Size     File name     Operating system   --------------------------------------------------------------------------   28-Jul-2003  16:13  5.0.2195.6794  711,440  Kernel32.dll  X86
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Article ID: 824867 - Last Review: 02/27/2014 21:19:33 - Revision: 2.4

Microsoft Windows 2000 Professional Edition, Microsoft Windows 2000 Service Pack 4, Microsoft Windows 2000 Advanced Server SP4

  • kbnosurvey kbarchive kbautohotfix kbhotfixserver kbqfe kbbug kbfix kbqfe kbwin2000presp5fix KB824867