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? [NOT SOLVED]



Edmund, Darren,

Thanks for responding.

First, I took I look at my PHP script, and replaced:
header('Content-Type: application/json');

With:
header('Content-Type: application/json; charset=UTF-8');

I hoped that might solve it, but it didn't.

So, I took a look at the JSON headers with Firebug, and here's what it said:

Response Headers
Date	Wed, 07 Sep 2011 11:18:41 GMT
Server	Apache/2.2.16 (Ubuntu)
X-Powered-By	PHP/5.3.3-1ubuntu9.5
Vary	Accept-Encoding
Content-Encoding	gzip
Content-Length	221
Keep-Alive	timeout=15, max=98
Connection	Keep-Alive
Content-Type	application/json; charset=UTF-8

Request Headers
Host	#############.com
User-Agent	Mozilla/5.0 (X11; Linux i686; rv:6.0.1) Gecko/20100101 Firefox/6.0.1
Accept	application/json, text/javascript, */*
Accept-Language	ja,en-ca;q=0.8,en;q=0.5,en-us;q=0.3
Accept-Encoding	gzip, deflate
Accept-Charset	UTF-8,*
Connection	keep-alive
Content-Type	application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With	XMLHttpRequest
Referer	http://################.com
Content-Length	166
Cookie	##############################


It seems to say utf-8 in all the right places... doesn't it?


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links