Message from discussion
Issue 459 in v8: localeCompare implementation differs from other browsers
Received: by 10.52.21.68 with SMTP id t4mr288016vde.8.1336005307880;
Wed, 02 May 2012 17:35:07 -0700 (PDT)
X-BeenThere: v8-dev@googlegroups.com
Received: by 10.220.142.13 with SMTP id o13ls545963vcu.0.gmail; Wed, 02 May
2012 17:35:07 -0700 (PDT)
Received: by 10.52.88.201 with SMTP id bi9mr298603vdb.6.1336005307187;
Wed, 02 May 2012 17:35:07 -0700 (PDT)
Received: by 10.52.88.201 with SMTP id bi9mr298601vdb.6.1336005307179;
Wed, 02 May 2012 17:35:07 -0700 (PDT)
Return-Path: <3u9KhTxAKBmoKWLMaQbM-VWZMXTgOWWOTM.KWUdq-LMdOWWOTMOZWcXa....@codesite.bounces.google.com>
Received: from mail-vx0-f203.google.com ([209.85.220.203])
by gmr-mx.google.com with ESMTPS id cz20si1742430vdb.0.2012.05.02.17.35.07
(version=TLSv1/SSLv3 cipher=OTHER);
Wed, 02 May 2012 17:35:07 -0700 (PDT)
Received-SPF: pass (google.com: domain of 3u9KhTxAKBmoKWLMaQbM-VWZMXTgOWWOTM.KWUdq-LMdOWWOTMOZWcXa....@codesite.bounces.google.com designates 209.85.220.203 as permitted sender) client-ip=209.85.220.203;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of 3u9KhTxAKBmoKWLMaQbM-VWZMXTgOWWOTM.KWUdq-LMdOWWOTMOZWcXa....@codesite.bounces.google.com designates 209.85.220.203 as permitted sender) smtp.mail=3u9KhTxAKBmoKWLMaQbM-VWZMXTgOWWOTM.KWUdq-LMdOWWOTMOZWcXa....@codesite.bounces.google.com; dkim=pass header...@google.com
Received: by vcge1 with SMTP id e1so96418vcg.4
for <v8-dev@googlegroups.com>; Wed, 02 May 2012 17:35:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=google.com; s=20120113;
h=mime-version:reply-to:x-generated-by:x-googlecode-project
:x-googlecode-issue-id:references:in-reply-to:message-id:date
:subject:from:to:content-type;
bh=3BSvhm0DFI8ecqhnQWBYWPGdSzaip23pq31CTiKp6p4=;
b=Y1iD2pmrr3rpFQjirBSu5Y1gKbOgq0oQho4ZtfVklsyRybDV2FkjfrQfCsmytSSByj
hbg6rLRaTKj7NNOkz3z5qqDYVZ25u2P+4gMTsX+rqILt2TZya9AeEfG/so+wyEKEbtmx
mly/j7Gi9vqJ+qvtSzNx/9NGhzCj1HP6sQ/9pDRGC+zGYtsXjdNOzv2MtraKvANOFxiZ
Vn/XbUsz1kllMpwEtwPBtCYfh95thBeg+tfOnFjNNMEc7/vYe/6TmMj5KnhIEDmVsWgj
cNmhUqr7QvXbkTgKhZQopbnGoSh7zEzBQyu32S/l6LkONOiesCKL2RedgFOtUdGuj4YV
9cxA==
MIME-Version: 1.0
Received: by 10.224.217.200 with SMTP id hn8mr492775qab.4.1336005307061; Wed,
02 May 2012 17:35:07 -0700 (PDT)
Reply-To: codesite-nore...@google.com
X-Generated-By: Google Code
X-GoogleCode-Project: v8
X-GoogleCode-Issue-Id: 459
References: <23-11690816309429728379-10735313661234047218-codesite-noreply=google....@googlecode.com>
<0-11690816309429728379-10735313661234047218-codesite-noreply=google....@googlecode.com>
In-Reply-To: <23-11690816309429728379-10735313661234047218-codesite-noreply=google....@googlecode.com>
Message-ID: <24-11690816309429728379-10735313661234047218-codesite-noreply=google....@googlecode.com>
Date: Thu, 03 May 2012 00:35:07 +0000
Subject: Re: Issue 459 in v8: localeCompare implementation differs from other browsers
From: codesite-nore...@google.com
To: v8-dev@googlegroups.com
Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes
Comment #24 on issue 459 by paulbenn...@gmail.com: localeCompare
implementation differs from other browsers
http://code.google.com/p/v8/issues/detail?id=459
"The Spec" (ECMA -
http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdf)
states:
"The result is intended to order String values in the sort order specified
by the system default
locale, and will be negative, zero, or positive, depending on whether S
comes before That in the sort order, the
Strings are equal, or S comes after That in the sort order, respectively."
The result must be -1, 0 or 1, just as other browsers have implemented it.
Please fix it. This should be a bug not a feature request.