Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Why am I not seeing Japanese in my web page on my Android?



What is the encoding set to on your html page?

The inbuilt Android browser sends unable to guess the encoding from the content, so unless you specify the encoding in the meta tags it defaults to US English - at least it does so on my Android.

Have you tried an alternative browser on the Android? I have Firefox and xscope installed on my phone for the sites that don't render properly in the stock browser.

Regards

Stuart

On Sep 6, 2011 1:55 AM, "Martin G" <ebisumartin@example.com> wrote:
> TLUG,
>
> I've made an HTML page with some _javascript_ that passes some JSON data
> back and forth to the server.
>
> One of the things it passes back and forth is the user's display name.
> Just a simple text string in utf-8.
>
> For one of my test users, I set the name to be 恵比寿.
>
> On my desktop and laptop, it displays fine, so I'm pretty sure the
> JSON, _javascript_, PHP, MySQL, and HTML are passing around and storting
> the string in the right encoding.
>
> However, on my Galaxy S 2 Android device (running Android 2.3, I
> think), the name 恵比寿 displays like this:
>
> u6075u6bd4u5bff
>
> It seems really odd to me that Japanese wouldn't display correctly on
> my phone when it works on other devices, especially since my phone is
> a Japanese model that has no trouble with Japanese in almost every
> other context I can think of.
>
> Any ideas why the phone would object to the Japanese characters?
>
> Any advice would be much appreciated.
>
> --
> Dave M G
>
> --
> To unsubscribe from this mailing list,
> please see the instructions at http://lists.tlug.jp/list.html
>
> The TLUG mailing list is hosted by the award-winning Internet provider
> ASAHI Net.
> Visit ASAHI Net's English-language Web page: http://asahi-net.jp/en/

Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links