Japanese Character Is Not Displayed Correctly When You Use MAPIReadMail (317011)



The information in this article applies to:

  • Microsoft Internet Explorer version 6 for Windows XP
  • Microsoft Internet Explorer version 6 for Windows 2000
  • Microsoft Internet Explorer version 6 for Windows 98
  • Microsoft Internet Explorer version 6 for Windows 98 Second Edition
  • Microsoft Internet Explorer version 6 for Windows NT 4.0

This article was previously published under Q317011

SYMPTOMS

When the MAPIReadMail function is called, Japanese (double-byte) characters are not displayed correctly. As a result, you cannot read strings by using the MAPIReadMail function.

This problem occurs in the following scenario:
  1. Create a program that uses the MAPIReadMail function, which can output Japanese strings in the message body (to do so, use lpszNoteText in the MAPIMessage structure).
  2. Make sure that your default MAPI client is Microsoft Outlook Express.
  3. Use Japanese Industry Standards (JIS), which is the code set for Japanese characters, to create a message that contains Japanese characters in the message body, and then send this message to your Inbox.
  4. Use a sample program to call the MAPIReadMail function, and then read the message that you received in step 3.
  5. Review the string that appears, specifically the string in lpMessage->lpszNoteText in the MAPIMessage structure.
The string is not displayed correctly. This string appears as a raw JIS-encoded string. The string is not displayed correctly in the message body only. This problem does not occur in the To box, the From box, or the Subject box.

RESOLUTION

To resolve this problem, obtain the latest service pack for Internet Explorer 6. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

328548 How to Obtain the Latest Internet Explorer 6 Service Pack

The English-language version of the fix should have the following file attributes or later:
   Date         Time   Version        Size      File name
   --------------------------------------------------------
   25-Jan-2002  09:09  6.00.2713.2400  1,175,040  Msoe.dll
				

STATUS

Microsoft has confirmed that this is a problem in Internet Explorer 6. This problem was first corrected in Internet Explorer 6 Service Pack 1.

Modification Type:MinorLast Reviewed:9/27/2005
Keywords:kbHotfixServer kbQFE kbbug kbfix kbIE600preSP1fix KB317011