Z zxxdaro Member Licensed User Longtime User Apr 6, 2012 #1 I am using a webview to display languages other than English. Currently I am simply using a string like "<html><body> Text in here </body></html>" I am finding that characters that carry accents (diacritics) are not displaying properly. What do I need to do to get these to display properly?
I am using a webview to display languages other than English. Currently I am simply using a string like "<html><body> Text in here </body></html>" I am finding that characters that carry accents (diacritics) are not displaying properly. What do I need to do to get these to display properly?
Erel B4X founder Staff member Licensed User Longtime User Apr 6, 2012 #2 This code works correctly: Sub Activity_Create(FirstTime As Boolean) Dim wv As WebView wv.Initialize("") Activity.AddView(wv, 0, 0, 300dip, 300dip) wv.LoadHtml("<html><body>ÄÄÄÄÄÄÄ</body></html>") End Sub Upvote 0
This code works correctly: Sub Activity_Create(FirstTime As Boolean) Dim wv As WebView wv.Initialize("") Activity.AddView(wv, 0, 0, 300dip, 300dip) wv.LoadHtml("<html><body>ÄÄÄÄÄÄÄ</body></html>") End Sub