I am using the following code for encoding the html file which is in my asset folder. I have gone through various link here but was not successful. Here is my piece of code.
WebSettings settings = myWebVeiw.getSettings();
//settings.setJavaScriptEnabled(true);
//myWebVeiw.getSettings().setJavaScriptEnabled(true);
settings.setDefaultTextEncodingName("utf-8");
//settings.setDefaultTextEncodingName("ISO-8859-1");
myWebVeiw.loadUrl("file:///android_asset/"+totaldays+".html");
Although it is working for other characters but it is not able to encode †.as it prints same on the web view. Please suggest me what to do.
Any help will be appreciated.