Spec-Zone .ru
спецификации, руководства, описания, API
|
This section describes how to add a UCA collation for a Unicode character set by writing the <collation>
element within a <charset>
character set description in the MySQL Index.xml
file. The procedure described
here does not require recompiling MySQL. It uses a subset of the Locale Data Markup Language (LDML)
specification, which is available at utf16le
; there is no utf16le_unicode_ci
collation
that would serve as the basis for such collations.
Table 10.1. MySQL Character Sets Available for User-Defined UCA Collations
Character Set | Base Collation |
---|---|
utf8 |
utf8_unicode_ci |
ucs2 |
ucs2_unicode_ci |
utf16 |
utf16_unicode_ci |
utf32 |
utf32_unicode_ci |
The following sections show how to add a collation that is defined using LDML syntax, and provide a summary of LDML rules supported in MySQL.