W3C home > Mailing lists > Public > www-international@w3.org > January to March 2014

Re: Re: Guessing the fallback encoding from the top-level domain name before trying to guess from the browser localization

From: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
Date: Thu, 20 Mar 2014 04:32:16 +0100
To: Henri Sivonen <hsivonen@hsivonen.fi>
Cc: John Cowan <cowan@mercury.ccil.org>, "www-international@w3.org" <www-international@w3.org>
Message-ID: <20140320043216884559.49035449@xn--mlform-iua.no>
Henri Sivonen, Wed, 26 Feb 2014 13:25:17 +0200:

> The TLD-based guessing feature is on Firefox trunk now. However, not
> all country TLDs are participating. 
  [ … ]
> 
https://mxr.mozilla.org/mozilla-central/source/dom/encoding/domainsfallbacks.properties


It works: Browsing a sub page of www.ria.ru with a Norway-localized 
Firefox, I experienced a different origin iframe document[1] that 
rendered in garbled Latin instead of Cyrillic. But, upgrading my 
browser to Firefox 31 nightly, the iframe in question displayed in 
Cyrillic.

Question: 

I believe your current plan to be to exclude from TLD-based guessing 
all country domains for which the locale-based default encoding is 
Win-1252. Assuming I am right, then, for a Russian locale user, 
browsing pages under the .co.uk domain but without encoding 
information, would see the page rendered in Windows Cyrillic.

Would it not be better to let the Russian locale user experience the 
page in Windows 1252, based on the domain? And thus, would it not be 
better to let, in this case, the .co.uk domain participate in the 
TLD-based guessing? It might not be necessary if the browser itself 
defaults to Windows 1252. But for e.g. Russian locale, and other 
locales with non-Windows-1252 default, including even TLDs for which 
the default fallback encoding is Win 1252, would make the user 
experience less gotcha.

[1]
<http://masterh2.adriver.ru/images/0002922/0002922726/0/index.html?html_params=bid%3D2922726%26sid%3D45736%26width%3D0%26height%3D0%26rnd%3D953565%26pz%3D0%26ad%3D363319%26bt%3D52%26bn%3D51%26ar_sliceid%3D1110775%26ntype%3D0%26nid%3D0%26url%3D//ad.adriver.ru/cgi-bin/click.cgi%253Fsid%253D45736%2526ad%253D363319%2526bid%253D2922726%2526bt%253D52%2526bn%253D51%2526pz%253D0%2526xpid%253DBDy_89WRebRzUoCTtTHYbAppynSY%2526ref%253Dhttp%253A%25252f%25252fria.ru%25252fworld%25252f20140320%25252f1000275454.html%2526custom%253D%2526rleurl%253D%26CompPath%3Dhttp%253A//masterh2.adriver.ru/images/0002922/0002922726/0/>
-- 
leif halvard silli
Received on Thursday, 20 March 2014 03:32:51 UTC

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