EML to PDF: Special characters are not displayed properly (C# .NET)

Hello,

I have an eml file (it’s attached) with some special (local) characters. When I convert this file to PDF, the special characters are not displayed correctly. You can find attached two PDF files. The first one (with 2.0 in the name) was created using Aspose.Email 2.0 and in this file all characters are displayed correctly. But it’s not the same in the second PDF file (with 2.3 in the name) which was created with Aspose.Email 2.3. The regression was obviously produced between this two version of Aspose Email.

This is the code I used for conversion:

Aspose.Words.Document doc;
var message = MailMessage.Load(“Tescino_zopnjos1.eml”, MessageFormat.Eml);
message.PreferredTextEncoding = Encoding.UTF8;
using (var mhtStream = new MemoryStream())
{
message.Save(mhtStream, MailMessageSaveType.MHtmlFromat);
doc = new Aspose.Words.Document(mhtStream);
}

doc.Save(“Tescino_zopnjos1_2.0.pdf”, Aspose.Words.SaveFormat.Pdf);

Regards,
Dejan

Hi Dejan,


Thank you for reporting this issue.

I was able to reproduce this issue at my end using the latest version of Aspose.Email for .NET and have logged it as NETWORKNET-33535 in our issue tracking system. Development team will look into it and once we have any news about the resolution of this issue, we will update you here.

The issues you have found earlier (filed as NETWORKNET-33535) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.