Answer the question
In order to leave comments, you need to log in
Why doesn't webView.loadData always display all characters?
With this option, all characters are displayed on the webView.
webview.webViewClient = WebViewClient()
val text = "<html><body><h1>[email protected]#$%^&*()-=_+</h1></body></html>"
val webData = text.replace("#", "0")
webview.loadData(webData,"text/html","en_US")
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question