Hello, In my program I used WebView to load a URL. The problem is one of my users mentioned that the page displayed with wrong characters.
The application is tested on 3 different Android version on simulator and on some real phones but the above encoding problem could not be simulated. Problem: Some characters replaced with question mark character (�) Web page includes iso-8859-1 character set. The user's environment: Android 2.3.6 Language: Turkish The browser settings reset to default as well. Not: User has the same problem in android browser, but not on opera browser. Code segment: wv = (WebView) findViewById(R.id.webViewArticle); wv.getSettings().setJavaScriptEnabled(true); wv.loadUrl(url); Additionally, below lines are tested too. - wv.getSettings().setDefaultTextEncodingName("UTF-8"); - wv.getSettings().setDefaultTextEncodingName("ISO-8859-1"); - wv.loadDataWithBaseURL(url, getHtmlContent(url), "text/html", "UTF-8", null); - wv.loadDataWithBaseURL(url, getHtmlContent(url), "text/html", "iso-8859-1", null); -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en