W3C home > Mailing lists > Public > www-html@w3.org > July 2003

RE: Language negotiation.

From: Rowland Shaw <Rowland.Shaw@crystaldecisions.com>
Date: Fri, 11 Jul 2003 01:49:15 -0700
Message-ID: <963A03BCAFF059488BAFF33AE5C8709701517A2A@ipsent04.crystald.net>
To: David Woolley <david@djwhome.demon.co.uk>
Cc: www-html@w3.org

> David Woolley wrote:
> The only sites I know of that do do server side negotiation of anything
> but User Agent (using procedural, rather than declarative code, in that
> case) are Google, some versions of Microsoft's Windows Update page and
> some images on the W3C site.  None of these can effectively use 
> q factors as the common browsers do not allow the users to configure
> them, relying on positional fallback instead.

I've noticed that the browsers do specify q factors, although not the
magnitude, to pick three browsers at random:
IE/6: en-gb,xx;q=0.9,fr-ca;q=0.7,en;q=0.6,de-at;q=0.4,ja;q=0.3,zh;q=0.1
NS/7.1: en-gb,xx;q=0.8,fr-ca;q=0.6,de;q=0.4,ja;q=0.2
Opera/7.11: en-gb;q=1.0,en;q=0.9,fr;q=0.8

I have noticed that the algorithm in Apache's mod_negotiation is different
to what I'd expect though (I.e. if you ask for "en-gb" then "fr"; it will
give you "fr" as typically only "en" is set up - it doesn't implicitly
prefer "en" over "fr". Regardless, this is a little off topic for this list
Received on Friday, 11 July 2003 04:49:19 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:04 UTC