we are using Aspose.Email (Version 16.12.0) to load Aspose MailMessage objects from msg-/eml-Streams.
Before loading the MailMessage we don’t know the encoding (they are randomly), so default constructor of EmLoadOptions and MsgLoadOptions are used.
The problem is, on loading emails with BodyType = PlainText and BodyEncoding = System.Text.SBCSCodePageEncoding (CodePage = 1252, EncodingName = Western European (Windows)), german umlauts and other special character will not be converted correclty. In the Body property unreadable chars like Ã¼ Ã¶ or ÃŸ are shown.
We can not set a PreferredTextEncoding, because we don’t know the underlaying encoding of the streams.
If the streams are HTML emails, the encoding looks fine.
Is this a bug or is there any way to determine the encoding (ISO, Latin1, UTF8, Unicode) before loading the MailMessage?
Thank you and Greetings,