We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

UTF8 encoding issues converting EML to MSG

We have issues converting EML to MSG with UTF8 characters in subject, sender name and recipient name.

Message received directly in Outlook with the same UTF8 format of subject, sender and recipient name is displayed correctly, therefore we have excluded issues with EML formatting. EML is also displayed correctly with EML viewers but converted MSG is displayed incorrectly in both Outlook and alternative MSG viewers.

I am attaching EML and MSG with issues and corresponding display (PNG) of messages depicting issues with character display.

We are using licensed Aspose.Email for .NET version 5.6.0.

Hi Bostjan,


Thank you for writing to Aspose support team.

I have converted the EML to MSG file using following sample code and no issue is observed in the converted MSG file. Here the converted MSG is also attached for your reference. could you please give a try to the following sample code and let us know the feedback?

MailMessage mail = MailMessage.Load(“Aspose-Convert-UTF8-Issue.eml”,MailMessageLoadOptions.DefaultEml);<o:p></o:p>

mail.Save("Aspose-Convert-UTF8-Issue - Eml to Msg by Aspose.msg",SaveOptions.DefaultMsgUnicode);

Thank you for prompt response.


We must have missed the option to explicitly use UTF8 when converting to MSG. It works with the new setting.

Thank you for excellent work on your component.

Hi Bostjan,


Thank you for providing feedback. Please feel free to write us back if you have any other query related to Aspose.Email.