Html body with non english characters are showing number

Hello,

We are having HTML body with korean characters in it, while loading the msg file using aspose object the characters are replace with numbers.Please have look on sample code.
asposeTest.zip (2.6 MB)

Thanks
Shital

@Shital_diwate,

Could you please help us identify the issue with the help of an image of the problem? We don’t see any issue with the loaded file using the latest version of the API.

Hello,

Please have look on the below image, after loading the .msg file the html body showing numbers instead of Korean characters .
korean.png (185.4 KB)

Thanks
shital

@Shital_diwate,

This seems to be some limitation of the viewer. You may please view the html body property in any Html viewer and share the feedback. Or you may save the html body to file and open the html file in some browser.

MapiMessage msg = MapiMessage.FromFile("test.msg");
File.WriteAllText("Htmlbody.htm", msg.BodyHtml);
msg.Dispose();

Hello,

We are converting the html body to text, So while converting it is taking the numbers instead of characters from loaded html body.

Thanks
shital

@Shital_diwate,

The issue with message body seems to be due to the encoding involved. We’ve requested our Product team to share their feedback in this regard and will soon update you here with our findings here.

@Shital_diwate,

We have investigated the issue and observed that this is not an issue of Aspose.Email. It can be observed in OutlookSpy as well that wrong CodePage is set in this message. In few cases as workaround HtmlBodyText property of MailMessage can be used, however it may not work here.

Please feel free to write us back if you have any other query related to Aspose.Email.
OutlookSpyImage.jpg (227.9 KB)