S selvamurali Active Member Licensed User Longtime User Jan 10, 2013 #1 dear team what are string to be used in setDefaultTextEncodingName of webviewsettings. shall i use UTF-8. i write my code like below is it correct Dim loadweb as webview Dim wb as Webviewsettings Activity.LoadLayout("main") wb.setDefaultTextEncodingName(loadweb,"UTF-8") loadweb.LoadUrl("http://m.uthayan.mobi") ProgressDialogShow2("Loading...",False)
dear team what are string to be used in setDefaultTextEncodingName of webviewsettings. shall i use UTF-8. i write my code like below is it correct Dim loadweb as webview Dim wb as Webviewsettings Activity.LoadLayout("main") wb.setDefaultTextEncodingName(loadweb,"UTF-8") loadweb.LoadUrl("http://m.uthayan.mobi") ProgressDialogShow2("Loading...",False)
Erel B4X founder Staff member Licensed User Longtime User Jan 10, 2013 #2 Your code is correct. Upvote 0
S selvamurali Active Member Licensed User Longtime User Jan 11, 2013 #3 Thaks Erel but the webview didnt show the encoding characters correctly. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jan 11, 2013 #4 The default encoding only affects web sites that not explicitly set the encoding. It is also possible that the fonts issue you encounter is not related to encoding. Upvote 0
The default encoding only affects web sites that not explicitly set the encoding. It is also possible that the fonts issue you encounter is not related to encoding.