Hi, I am trying to convert html to docx. I have been successful until the html contains some hex code like
 
if I open the document in word it show a different character like this image.png (668 Bytes)
the little circle after Q: and the expected character should be image.png (602 Bytes)
the little arrow after Q: should I need to specify any encoding while saving my docx document? I already tried replacing the hex code for &emsp and it didn’t work.
Please note that the   hex character (also known as ) actually represents a ‘Unicode Hex Character’ that when inserted in HTML is not even visible when viewing with web browsers such as Google Chrome. For example, please try to open the following HTML with Google Chrome:
<html>
<head>
<title></title>
</head>
<body>
Hello   World
</body>
</html>
And when you convert such HTML using MS Word’s Save As command or using Aspose.Words programmatically, the output DOCX Word document will show you a little circle as can be seen in your first image. This seems to be an expected behavior.
However, if you would like to see a ‘Rightwards Arrow’ character, then please use → in your HTML like this:
<html>
<head>
<title></title>
</head>
<body>
Hello → World
</body>
</html>
Or if I am missing something, then please elaborate your inquiry a bit further. Also, please ZIP and upload your expected Word document showing the desired arrow character here for testing. We will then investigate the scenario further on our end and provide you more information.
Well actually the arrow represents a tab space but when converting from HTML to DOCX aspose.words interpreted it as an space or something like that. Also the arrow is not visible it is just visible enabling the all characteres in Word, any other idea?
The 144 points value in first Paragraph indicates that when you view this with web browser, there will be 2-inches distance between ‘Left’ and ‘Right’ words. However, this won’t have any effect in Word document.
The text-indent:-36pt; in second Paragraph will be transformed into 0.5 inch hanging indentation when you convert it to Word document. Hope, this helps.