-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm using WebView to render a simple HTML document that I've loaded in
memory from a file. The document contains non-latin characters, and I
can say they are correctly loaded since if I put it into a regular
TextView, all the text is properly rendered.

Now, I suppose that since I've already loaded the text in memory, I
have to specify the unicode-16 enconding, right?

        webView.loadData(myText, "text/html", "unicode-16");

But I have problems with non-latin characters. Note that I've
URI-encoded the four special characters as described in the javadoc of
WebView.


- -- 
Fabrizio Giudici - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
java.net/blog/fabriziogiudici - www.tidalwave.it/people
[email protected]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkyIztsACgkQeDweFqgUGxcGOgCgrqL3EecxM/dA/7JkGsy38DY+
1n8AoJDOovzvGegV4CTnxy7tAnVGZfYl
=9sWs
-----END PGP SIGNATURE-----

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en

Reply via email to