Sunday, September 11, 2011

[android-developers] Re: Webview UTF-8 broken?

did you try "utf-8" (ie lowercase) ?

Peace,
Dan

On Sep 11, 4:28 pm, bob <b...@coolgroups.com> wrote:
> I made a simple test to see if the Webview correctly supports UTF-8:
>
> wv.loadData("%E2%80%91", "text/html", "UTF-8");
>
> If it did support UTF-8 correctly, the preceding code should load a
> single long hyphen.  Instead, it loads three weird characters.  Did I
> do this right or am I missing something?

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment