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

Free Support Forum - aspose.com

Save document in UTF-8 formate

	Document document = new Document(filePath);
	document.save(name);

@rabin.samanta,

If you are intended to save Word document to HTML format, then please note that by default, Aspose.Words uses UTF-8 encoding; but you can try specifying encoding as per your need. For example, please try using the following code:

Document doc = new Document("E:\\temp\\input.docx");
HtmlSaveOptions so = new HtmlSaveOptions(SaveFormat.HTML);
so.setEncoding(Charset.forName("ISO-8859-1"));
//so.setEncoding(Charset.forName("UTF8"));
doc.save("E:\\temp\\awjava-19.2.html", so);