On Thursday, March 21, 2002, at 01:44 , Doug Ewell wrote:
> Only slightly more seriously, I imagine it would be possible to examine
> the top-level domain and:
>
> (1) if .cn, .tw, .hk, .sg, .mo --> display URL with Chinese glyphs
> (2) if .jp --> display URL with Japanese glyphs
> (3) otherwise punt (browser's choice)
Sorry. It won't work. There are too many Japanese and Chinese pages
on .com, net, .tv, .cx and others. Internet domain has little to do
with actual language used therein.
And as for Chinese, how do you tell whether Traditional or Simplified
is more appropriate?
HTML and XML at least has a salvation to this; lang= attribute in the
tag is exactly for that purpose. Unfortunately lang= attribute is not
very popular yet
so I am not sure how reliably you can use this attribute (but hey, it is
at least well-documented).
Dan the Man with Too Many Web Pages Looking Funny
This archive was generated by hypermail 2.1.2 : Wed Mar 20 2002 - 17:08:50 EST