Jump to content

Manual:IcuCollation.php

From mediawiki.org

Class used to perform database row sorting according to the appropriate Unicode collation algorithm from the ICU library. It extends the Collation class.

Public methods

[edit]
  • getSortKey() - overrides abstract method from Collation.
  • getFirstLetter() - overrides abstract method from Collation.
  • isCjk() - tests if a code point is a CJK (Chinese, Japanese, Korean) character.
  • getUnicodeVersionForICU() - returns the version of Unicode appropriate for the version of the ICU library that is currently in use, or false when it can't be determined.

See also

[edit]