Jump to content

Unicode collation algorithm

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 2a02:2f0e:d811:d400:73bd:51f1:209d:b41b (talk) at 02:12, 14 June 2020 (fix tr10 link). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

The Unicode collation algorithm (UCA) is an algorithm defined in Unicode Technical Report #10, which defines a customizable method to compare two strings. These comparisons can then be used to collate or sort text in any writing system and language that can be represented with Unicode.

Unicode Technical Report #10 also specifies the Default Unicode Collation Element Table (DUCET). This datafile specifies the default collation ordering. The DUCET is customizable for different languages. Some such customisations can be found in Common Locale Data Repository (CLDR).

An important open source implementation of UCA is included with the International Components for Unicode, ICU. ICU also supports tailoring and the collation tailorings from CLDR are included in ICU. The effects of tailoring and many language-specific tailorings are displayed in the on-line ICU Locale Explorer.

See also

Tools