Erel,
I am loading an HTML file into a webview. The HTML is created by saving a Word Document into .htm format and then loading it into direct assets for use within my app.
All web viewers on the PC view the file perfectly, but the webview in b4a, shows black diamonds with a question mark within throughout the document.
Is there an encoding capability or requirement to handle this?
<p class=MsoNormal><b style='mso-bidi-font-weight:normal'>Title:<span
style='mso-spacerun:yes'> </span></b>This is a test html sentence,
this text is being displayed within a webview</p>
Word adds the text <span style='mso-spacerun:yes'> </span></b>
this seems to be the source of the black diamonds. Within the Word doc there are two blank spaces.
In either case, when I view the html document in Firefox for example, it looks fine even with the embedded span. In the Android webview it has the diamonds.
Any advice is greatly appreciated.
Thanks,
Rusty