Android : how can i read special character in webview?

on Saturday, September 13, 2014


I am developing and article managing android application. Where article are parse through json. all the values that are parse by json are load in webview. but there are some special character that are not readed by webview. enter code here



{web1 = (WebView) findViewById(R.id.webView2);
web1.setWebViewClient(new myWebClient());
web1.getSettings().setJavaScriptEnabled(true);
web1.loadData(c,"text/html", "UTF-32");



}

0 comments:

Post a Comment