This directory holds configuration files that enable MySQL to work with different character sets. It contains: charset_name.xml Each charset_name.xml file contains information for a simple character set. The information in the file describes character types, lower- and upper-case equivalencies and sorting orders for the character values in the set. Index.xml The Index.xml file lists all of the available charset configurations, including collations. Each collation must have a unique number. The number is stored IN THE DATABASE TABLE FILES and must not be changed. The max-id attribute of the <charsets> element must be set to the largest collation number. Compiled in or configuration file? When should a character set be compiled in to MySQL's string library (libmystrings), and when should it be placed in a charset_name.xml configuration file? If the character set requires the strcoll functions or is a multi-byte character set, it MUST be compiled in to the string library. If it does not require these functions, it should be placed in a charset_name.xml configuration file. If the character set uses any one of the strcoll functions, it must define all of them. Likewise, if the set uses one of the multi-byte functions, it must define them all. See the manual for more information on how to add a complex character set to MySQL. Syntax of configuration files The syntax is very simple. Words in <map> array elements are separated by arbitrary amounts of whitespace. Each word must be a number in hexadecimal format. The ctype array has 257 words; the other arrays (lower, upper, etc.) take up 256 words each after that.
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
Index.xml | File | 18.55 KB | 0755 |
|
README | File | 1.71 KB | 0755 |
|
armscii8.xml | File | 5.8 KB | 0755 |
|
ascii.xml | File | 5.79 KB | 0755 |
|
cp1250.xml | File | 8.45 KB | 0755 |
|
cp1251.xml | File | 8.58 KB | 0755 |
|
cp1256.xml | File | 5.84 KB | 0755 |
|
cp1257.xml | File | 9.1 KB | 0755 |
|
cp850.xml | File | 5.78 KB | 0755 |
|
cp852.xml | File | 5.8 KB | 0755 |
|
cp866.xml | File | 5.89 KB | 0755 |
|
dec8.xml | File | 6.78 KB | 0755 |
|
geostd8.xml | File | 5.79 KB | 0755 |
|
greek.xml | File | 6 KB | 0755 |
|
hebrew.xml | File | 5.79 KB | 0755 |
|
hp8.xml | File | 5.78 KB | 0755 |
|
keybcs2.xml | File | 5.8 KB | 0755 |
|
koi8r.xml | File | 5.79 KB | 0755 |
|
koi8u.xml | File | 6.78 KB | 0755 |
|
latin1.xml | File | 9.99 KB | 0755 |
|
latin2.xml | File | 7.48 KB | 0755 |
|
latin5.xml | File | 5.79 KB | 0755 |
|
latin7.xml | File | 7.67 KB | 0755 |
|
macce.xml | File | 8.27 KB | 0755 |
|
macroman.xml | File | 8.28 KB | 0755 |
|
swe7.xml | File | 6.78 KB | 0755 |
|