Japanese Character Is Not Displayed Correctly When You Use MAPIReadMail

This article was previously published under Q317011
This article has been archived. It is offered "as is" and will no longer be updated.
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 stringsin 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 theMicrosoft 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.
MAPIReadMail lpszNoteText
Properties

Article ID: 317011 - Last Review: 02/27/2014 21:11:28 - Revision: 3.5

  • Microsoft Internet Explorer 6.0
  • kbnosurvey kbarchive kbbug kbfix kbqfe kbie600presp1fix kbhotfixserver KB317011
Feedback