Free Support Forum -

Thai language is showing as square in word document

We are having issue to generate a Word document by using ASPOSE Word from html file.
Thai (5.8 KB)


Thanks for your inquiry. Please make sure you are using latest version of Aspose.Words API.

You can achieve desired results by using following code:

    HtmlLoadOptions opts = new HtmlLoadOptions();
    opts.Encoding = Encoding.UTF8;
    Document doc = new Document("D:\\Temp\\Documents\\Smart Report of thai issue.html", opts);

Please check document for your reference. (5.0 KB)