Wv is an instance of WebView.


Let’s see the following code:

wv.loadData(htmlSourceCode,"text/html","utf-8");



The code works well in Android 1.1,1.5,1.6. But in Android 2.0,it
seems that Android just ignore encoding parameter (i.e "utf-8"), using
ISO-8859-1 encoding by default. So that WebView can’t display some
characters (like Chinese, Japanese characters) properly. Due to it
working well in previous version of Android, I don’t think there’s any
programming error.Or I just use some deprecated methods? I’m very
confused. And eager for your solutions.



Best regards,

Cryrivers

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Android Discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/android-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to