ECMAScript collation question

Mark Davis ☕ mark at
Thu Aug 30 21:06:14 PDT 2012

ICU *is* always able to compare them as being equal, just by setting the

Even if the parameter isn't set, it uses an FCD sort (see and canonical closure, which handles most
cases of canonical equivalence. The default is turned on for languages
where the normal+auxiliary exemplar sets contains characters that would
show a difference even with an FCD+closure sort, and can be turned on
always if desired (at some cost in performance; 30% sounds high though).

Mark <>
*— Il meglio è l’inimico del bene —*

On Thu, Aug 30, 2012 at 6:30 PM, Norbert Lindenberg <
ecmascript at> wrote:

> In particular, a conformant implementation must be able to compare any two
> canonical-equivalent strings as being equal, for all Unicode characters
> supported by that implementation."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list