My android application was displaying unicode chars properly till android 4.1 . But now on Android 4.2 jelly bean, unicode chars are not getting displayed. I used the following settings as suggested by various forums :
web.getSettings().setDefaultTextEncodingName("utf-8");
web.loadDataWithBaseURL(null, htmlData, "text/html", "utf-8", null);
Also my htmlData variable has the meta content-type setting as urf-8
<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
I don't know where I am making a mistake. Its working fine on all versions prior to 4.2 Please help.