Free Support Forum - aspose.com

HTML Escape Characters not set when saving HTML Body

Hello,

I'm evaluating aspose.Email and have a problem saving the Body content of an email.

The mail Body contains german "Umlaute" (e.g. Ä,Ö etc.).

When saving the Body to an HTML file to disk like that:

HtmlSaveOptions options = SaveOptions.getDefaultHtml();
options.setEmbedResources(true);
message.save("C:\\DEV\\body.html", options);

the HTML file does not contain the escaped version of the special characters.

An "Ä" should have been replaced by "Ä" which is not the case.

When opening the saved file with my browser an "ü" is printed as "ü" (codepage mismatch).

Is there a way to escape these special charactes?

Thanks!

Regards

Tim

Hi Tim,


Thank you for contacting Aspose support team.

I have tested the issue and observed that German characters are not replaced by respective escape sequences. This issue is logged as EMAILJAVA-33525 in our bug tracking system for further investigation by the product team. I shall write here as soon as some feedback is received in this regard.

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


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.