Re: [Ltru] Eliminating the preposterous ASCII ordering in lookup

Mark Davis <mark.davis@icu-project.org> Thu, 23 February 2006 02:34 UTC

Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1FC6Ji-0003hi-OX; Wed, 22 Feb 2006 21:34:55 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1FC6Jg-0003hb-JW for ltru@ietf.org; Wed, 22 Feb 2006 21:34:52 -0500
Received: from relay00.pair.com ([209.68.5.9]) by ietf-mx.ietf.org with smtp (Exim 4.43) id 1FC6Je-0008Ti-Av for ltru@ietf.org; Wed, 22 Feb 2006 21:34:52 -0500
Received: (qmail 18518 invoked from network); 23 Feb 2006 02:34:50 -0000
Received: from unknown (HELO ?172.24.99.232?) (unknown) by unknown with SMTP; 23 Feb 2006 02:34:50 -0000
X-pair-Authenticated: 216.239.45.4
Message-ID: <43FD1F44.1050305@icu-project.org>
Date: Wed, 22 Feb 2006 18:34:44 -0800
From: Mark Davis <mark.davis@icu-project.org>
User-Agent: Thunderbird 1.5 (Windows/20051201)
MIME-Version: 1.0
To: Addison Phillips <addison@yahoo-inc.com>
Subject: Re: [Ltru] Eliminating the preposterous ASCII ordering in lookup
References: <000601c6380a$144a7450$9fcd15ac@ds.corp.yahoo.com>
In-Reply-To: <000601c6380a$144a7450$9fcd15ac@ds.corp.yahoo.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 6cca30437e2d04f45110f2ff8dc1b1d5
Cc: ltru@ietf.org
X-BeenThere: ltru@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Language Tag Registry Update working group discussion list <ltru.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ltru>, <mailto:ltru-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/ltru>
List-Post: <mailto:ltru@ietf.org>
List-Help: <mailto:ltru-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ltru>, <mailto:ltru-request@ietf.org?subject=subscribe>
Errors-To: ltru-bounces@ietf.org

Well, we don't support lookup with *. But if we were to support it, we 
certainly wouldn't return ja-JP (where that is the default) when *-CH is 
requested and (say) de-CH exists.

Mark

Addison Phillips wrote:
> It is merely an example of what one could do. It isn't obligatory. So it isn't that bad, I guess. We don't have text that requires a mapping to basic ranges at the moment and don't necessarily need to introduce it.
>
> On the other hand, I don't think I'd implement an algorithm that way and most underlying locale-like fallback systems will do as I suggested.
>
> Addison
>
> Addison Phillips
> Internationalization Architect - Yahoo! Inc.
>
> Internationalization is an architecture.
> It is not a feature. 
>
>   
>> -----Original Message-----
>> From: Mark Davis [mailto:mark.davis@icu-project.org]
>> Sent: 2006年2月22日 14:54
>> To: John Cowan
>> Cc: ltru@ietf.org
>> Subject: Re: [Ltru] Eliminating the preposterous ASCII ordering in lookup
>>
>> I'm guessing, but only a guess, that this is related to the following text:
>>
>>     
>>> For example, an implementation could return the matching content that
>>> is first in ASCII-order. For example, if the language range were
>>> "*-CH" and the set of content included "de-CH", "fr-CH", and "it-CH",
>>> then the content labeled "de-CH" would be returned.
>>>       
>> "preposterous" is a overblown language. And I strongly disagree with
>> your proposed change. In the example there clearly *exists* content
>> matching *-CH. So returning the default content (which could be, say,
>> Japanese) is clearly *not* what I would have expected!
>>
>> There could, of course, be other strategies for picking a single tag to
>> return from lookup when there are multiple matches for a wildcard. But
>> whatever example we choose should not return something so clearly
>> disconnected from the user's desired outcome. And ASCII is simple to
>> explain.
>>
>> Mark
>>
>> John Cowan wrote:
>>     
>>> It's really laughable to suggest that implementations might use ASCII
>>> tag ordering to make fallback decisions on lookup.  IMHO, the behavior
>>> of extended ranges on lookup should be:
>>>
>>> 	If the first subtag of a language range is '*' and it is
>>> 	followed by other ranges in a priority list, skip it.
>>> 	If the first subtag is '*' and there are no following
>>> 	ranges, return the default content.  All other '*' subtags
>>> 	should be removed before lookup processing is done.
>>>
>>> That is simple, clear, to the point, straightforward, and doesn't
>>>       
>> provide
>>     
>>> preposterous results.
>>>
>>>
>>>       
>> _______________________________________________
>> Ltru mailing list
>> Ltru@ietf.org
>> https://www1.ietf.org/mailman/listinfo/ltru
>>     
>
>
>
>
>   

_______________________________________________
Ltru mailing list
Ltru@ietf.org
https://www1.ietf.org/mailman/listinfo/ltru