How can I change character set of a html page from android on click? Let's say, there is a button to change the character set. On click of that button, it will change the character set from English to Chinese in WebView.
Asked
Active
Viewed 46 times
1
-
charset is not font. – I wrestled a bear once. Dec 06 '16 at 03:38
-
sorry for the mistake..how to change that? – Julfikar Dec 06 '16 at 03:41
-
i dont know if it will work but on textview i used this textview.setTypeface(Typeface.DEFAULT_BOLD); – coriano35 Dec 06 '16 at 03:56
-
or you can check this out http://stackoverflow.com/questions/3900658/how-to-change-font-face-of-webview-in-android – coriano35 Dec 06 '16 at 03:58
-
thank you..but i am not sure that the example will help me.. because in my webview, i need to load html link and there will two buttons in my app to change the charsets. let's say on button click, some text in the webview will be changed – Julfikar Dec 06 '16 at 04:06