FIX: WideCharToMultiByte Function Does Not Convert Japanese Composite Characters Correctly (824867)



The information in this article applies to:

  • Microsoft Windows 2000 Professional SP4
  • Microsoft Windows 2000 Server SP4
  • Microsoft Windows 2000 Advanced Server SP4

SYMPTOMS

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.

WORKAROUND

To work around this problem, increase the size of the buffer that WideCharToMultiByte returns by 1.

RESOLUTION

Hotfix Information

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Prerequisites

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

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Modification Type:MinorLast Reviewed:10/25/2005
Keywords:kbHotfixServer kbQFE kbBug kbfix kbQFE kbWin2000preSP5fix KB824867 kbAudDeveloper