I'm not seeing any issues with this on a Galaxy Nexus.

The code is:

WebView wv = ...;
wv.loadDataWithBaseURL(null, content, "text/html", "utf-8", null);

It loads Cyrillic text converted from windows-1251 or koi8-r into utf-8 -
just fine, and displays right.

So it could just be an emulator specific bug.

-- Kostya

5 января 2012 г. 16:33 пользователь Petros Sfikakis <
[email protected]> написал:

> Hi all,
>
> I have noticed that in the emulator, in a 4.0 vm, the encoding of html
> text in web views does not appear right. I use the load data function
> and a utf-8 encoding.
>
> If i change the encoding format to base64 as suggested by google, the
> application has the same problem in 2.3.6 (while that fixes the
> problem for 4.0).
>
> Anyone's got any ideas?
>
> Thanks in advance
>
> --
> 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

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