Question about Webview

D

Deleted member 103

Guest
Hi guys,

I have a problem with the representation of German word in the Webview.
With Firefox displays the page correctly, but not with the Webview, please look at the 2 pictures.

I call the html-page like this:
PHP:
    Dim strHelp As String
    strHelp = File.GetText(File.DirAssets, "Solitario_de.htm")

   WebView1.LoadHtml(strHelp)

Thank you,
Filippo
 

Attachments

  • Desktop_Solitario_1.jpg
    Desktop_Solitario_1.jpg
    27.7 KB · Views: 248
  • Device_Solitario_2.jpg
    Device_Solitario_2.jpg
    17.7 KB · Views: 252
D

Deleted member 103

Guest
Are sure the htm file is encoded as UTF-8?
not really.

This is my html-file:
PHP:
<body>
<P align=center><FONT face=Arial size=5>Solitario con carte siciliane <BR>  
 </FONT><FONT size=2 
face=Arial>Copyright © fg.Software 2011</FONT></P>
<P align=left><FONT size=4><STRONG>Kartenwert für Spiel </STRONG></FONT></P>
<P align=left> 
</body>
 
Upvote 0
D

Deleted member 103

Guest
OK, I have it. I have the file now stored with UTF-8 and now works.:)
 
Upvote 0
Top