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

Free Support Forum - aspose.com

Double-byte conversion from HTML to Word

We are creating Word documents by creating a base template, then appending sections converted from HTML. The english documents work well. The double-byte documents (I’ve tried Chinese, Arabic, and Japanese) do not work, just display questionmarks for the text. The actual HTML text is unicode characters that display properly in a browser.


I searched your help, but found only references to a document that must have been moved. What do we need to do to make this work?

Hello

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your inquiry. Could you please provide me the template document, HTML and simple code which will allow me to reproduce the problem on my side? Also, which version of Aspose.Words do you use?

Best regards,

Sorry. Turned out to be our issue. We were encoding the text file in 1252 instead of Unicode. Changed that, and all double-byte appears to be working as expected.

Hello

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

It is perfect, that you already resolved the problem. Please let me know in case of any issues. I will be glad to help you.

Best regards,