Pretty much all DoCoMo phones are handling UTF-8 now last I checked
(a few years ago!!), but people still use their own phones from even before that.
I know because on a new site we are monitoring which phones are accessing
and I have seen N504, SO503i and some other really old ones as well. That
really surprised me!
And I periodically see those old models in real life as well. I really would have guessed
that they are not in use but they are.
Its never safe to assume everyone is using newer stuff. I've found my favorite browsers one
day stopped working with my favorite web sites, and have had other (non technical) friends with the
same experience. Its kind of disturbing but many programmers assume everyone has moved
on and many people have not. Its good to keep backwards compatibility and usually very easy to
do, but it usually gets forgotten due to time constraints on projects.
The easiest way to see this is to look at the user agents accessing a site! (and hope no one is
sending fake user agents).
Nick May wrote:
> On a practical basis, I currently:
> Send chtml sjis to all DcCoMo.
> for other clients, sniff the $_SERVER[HTTP_ACCEPT_CHARSET] variable
> to see if it contains UTF-8 OR utf-8
> If so, send utf-8. If not, or the variable does not exist, send sjis.
> AFAICanSee, DcCoMo handsets don't set $_SERVER[HTTP_ACCEPT_CHARSET].
> It may be worth making sure all JP output goes through an encoding
> function. The encoding function can set the output to the appropriate
> encoding depending on the client. This will slow your output very
> slightly, but only very slightly.
> Japanese Maps, English Labels.
> Find Japanese addresses in English. Now for phones too...
> On 11 Dec 2007, at 08:04, Curt Sampson wrote:
> > On 2007-12-10 22:04 +0900 (Mon), Pascal Kallabis wrote:
> >> Does anyone have figures about UTF-8 support on Japanese mobile
> >> phones? Seems like for some time now, all new models support it. Is
> >> Shift_JIS still the way to go or is it already safe to deliver pages
> >> in Unicode?
> > Docomo still renders only Shift_JIS. AU is ok for UTF-8 on all models;
> > it appears that they're doing conversion at the gateway, at least for
> > the older models. I'm not quite as sure about all Softbank models, but
> > you'd have to get pretty darn old on those before you'd have a
> > chance of
> > UTF-8 not working.
> > BTW, this stuff was in the archives just recently. But I really need
> > to
> > get the keitai-dev wiki back on-line....
> > cjs
> > --
> > Curt Sampson <cjs_at_starling-software.com> +81 90 7737 2974
> > Mobile sites and software consulting: http://www.starling-software.com
> > This mail was sent to address nick_at_kyushu.com
> > Need archives? How to unsubscribe? http://www.appelsiini.net/keitai-l/
> This mail was sent to address paul_at_thetamusic.com
> Need archives? How to unsubscribe? http://www.appelsiini.net/keitai-l/
I am on the move right now!
Received on Wed Dec 12 09:45:58 2007