You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Guo XIn
291e661666
|
5 months ago | |
---|---|---|
.. | ||
Index.xml | 5 months ago | |
README | 5 months ago | |
armscii8.xml | 5 months ago | |
ascii.xml | 5 months ago | |
cp850.xml | 5 months ago | |
cp852.xml | 5 months ago | |
cp866.xml | 5 months ago | |
cp1250.xml | 5 months ago | |
cp1251.xml | 5 months ago | |
cp1256.xml | 5 months ago | |
cp1257.xml | 5 months ago | |
dec8.xml | 5 months ago | |
geostd8.xml | 5 months ago | |
greek.xml | 5 months ago | |
hebrew.xml | 5 months ago | |
hp8.xml | 5 months ago | |
keybcs2.xml | 5 months ago | |
koi8r.xml | 5 months ago | |
koi8u.xml | 5 months ago | |
languages.html | 5 months ago | |
latin1.xml | 5 months ago | |
latin2.xml | 5 months ago | |
latin5.xml | 5 months ago | |
latin7.xml | 5 months ago | |
macce.xml | 5 months ago | |
macroman.xml | 5 months ago | |
swe7.xml | 5 months ago |
README
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.