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

Free Support Forum - aspose.com

Encoding UFT-8

Hi Sir,
Our company bought license from Aspose last year.
I have a question:
When I do this, the saved document encoding is UFT-8
Document doc = new Document(source);
doc.save(target, SaveFormat.HTML);
Is there an option to save to other encoding, for example, Cp1252( this our company’s default encoding)?
Thanks a lot,


You can use HtmlSaveOptions.Encoding property to achieve your requirement.

If you still face problem, please ZIP and attach your input, problematic output, and expected output documents here for testing. We will investigate the issue and provide you more information on it.