W3C home > Mailing lists > Public > www-international@w3.org > July to September 2003

Re: Can servlet know the timezone of the browser?

From: Jungshik Shin <jshin@i18nl10n.com>
Date: Sat, 26 Jul 2003 02:27:26 -0400 (EDT)
To: <www-international@w3.org>
Message-ID: <Pine.BSO.4.33.0307260208150.9266-100000@callisto.jtan.com>

On Fri, 25 Jul 2003, Mark Davis wrote:

>> I believe that time zone should be part of the locale.  EG:
>> en-US#America/Los_Angeles

> People may differ in what they think of as a locale. We tend to take a
> narrow view, that it is principally items that differ according to
> language, thus excluding other items like preferred timezone,
> preferred currency, preferred character set, smoker/non-smoker

  I agree with you. In the very early days of Java, setting
one's locale to en_US (ko_KR) meant also setting one's timezone to
UTC -0800/-0700 (UTC +0900). Obviously, it doesn't make any sense
to tie locales to timezones.  As for associating MIME charsets with
languages, virtually all major web mail services (yahoo, hotmail) still
do that.  Therefore, it's impossible to compose emails in French
(Japanese) in MIME charset other than ISO-8859-1/Windows-1252
(Shift_JIS/EUC-JP). The solution is already there for them
(do all the processing internally in Unicode and let users
choose whichever MIME charsets to use for outgoing emails
as other i18n'ized email clients do) and I made a patch for IMP
(a widely used web mail program at schools)

  When Mark's (and my) view of locale is taken, 'KR' in ko_KR and 'CA' in
fr_CA are primarily meant to distinguish ko_KR/fr_CA from ko_KP/fr_FR(fr_CH).

Received on Saturday, 26 July 2003 02:27:36 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 21 September 2016 22:37:23 UTC