W3C home > Mailing lists > Public > public-i18n-archive@w3.org > January to March 2017

[i18n-activity] sorted list by code unit

From: Addison Phillips via GitHub <sysbot+gh@w3.org>
Date: Tue, 14 Mar 2017 17:15:34 +0000
To: public-i18n-archive@w3.org
Message-ID: <issues.opened-214144330-1489511732-sysbot+gh@w3.org>
aphillips has just created a new issue for https://github.com/w3c/i18n-activity:

== sorted list by code unit ==

> A sorted list is a DOMStringList containing strings sorted in ascending order by code unit.

While sorting by code unit is easy to do in (UTF-16) DOMString, it produces a perverse order for supplementary characters (i.e. those > U+FFFF). Shouldn't this be sorted by codepoint?

Note too that a list sorted by code unit/codepoint will not be accessible to users.

Please view or discuss this issue at https://github.com/w3c/i18n-activity/issues/362 using your GitHub account
Received on Tuesday, 14 March 2017 17:15:40 UTC

This archive was generated by hypermail 2.4.0 : Monday, 4 July 2022 18:09:36 UTC