Interpretation of emoji-ordering-rules.txt

Markus Scherer markus.icu at gmail.com
Fri Dec 18 11:42:35 CST 2020


On Fri, Dec 18, 2020 at 9:06 AM Sudarshan S Chawathe via Unicode <
unicode at unicode.org> wrote:

> I would be grateful if someone could point me to a good reference for
> the syntax and semantics of the rules used to describe the emoji
> ordering at the following:
>
>   https://www.unicode.org/emoji/charts-13.1/emoji-ordering-rules.txt


Overview: https://www.unicode.org/reports/tr51/#Sorting

Collation tailoring syntax:
https://www.unicode.org/reports/tr35/tr35-collation.html#Rules

The emoji ordering is also provided as part of CLDR:
https://github.com/unicode-org/cldr/blob/master/common/collation/root.xml#L950

And like much of CLDR that is then available via the ICU C/C++/Java
libraries, via a Collator for language tag "und-u-co-emoji".
http://site.icu-project.org/
https://unicode-org.github.io/icu/userguide/collation/
https://unicode-org.github.io/icu-docs/apidoc/released/icu4c/classicu_1_1Collator.html
https://unicode-org.github.io/icu-docs/apidoc/dev/icu4j/com/ibm/icu/text/Collator.html

Best regards,
markus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://corp.unicode.org/pipermail/unicode/attachments/20201218/97464207/attachment.htm>


More information about the Unicode mailing list