String xml = "<html>" +
  "<body>" +
        "Norwegian chars: &aring;&oslash;" +
  "</body>" +
"</html>";
myWebView.loadData(xml, "text/html", "UTF-8");

This code works for latin-1 but as far as I know there are not HTML
entities defined for Latin-2 so I was wondering if there are other
solutions to displaying non latin-1 in a Webview? I've tried encoding
the string given to loadData as UTF-8 but with little success...

-Christer
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to