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

Free Support Forum - aspose.com

Converting DOC to HTML generates Question Marks

We have an application that converts Word Docs and RTF docs to HTML on a web portal. Since we recently upgraded to the latest release - now our application displays question marks all throughout the HTML.

Here is a sample page:

http://southamptontest.iqm2.com/Citizens/Detail_LegiFile.aspx?MeetingID=1199&ID=7642

You can download the original RTF file by clicking the Download link (or see attached).

Hi

Thanks for your request. I cannot reproduce the problem on my side using the latest version of Aspose.Words (8.1.0).

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

I sent HTML document produced on my side to your e-mail.

Best regards,

My appologies - we were using the ASCII encoding instead of the UTF8 ... this fixed the problem.

Instead of:

Return System.Text.Encoding.ASCII.GetString(oStream.ToArray)

Use:

Return System.Text.Encoding.UTF8.GetString(oStream.ToArray)