mariadb/sql/share/charsets
Georgi Kodinov b2362674d5 merged 5.0-bugteam to 5.1-bugteam
sql/share/charsets/README:
  merged bug 36676 to 5.1-bugteam
strings/CHARSET_INFO.txt:
  merged bug 36676 to 5.1-bugteam
2008-05-28 17:18:24 +03:00
..
armscii8.xml Many files: 2006-12-23 20:17:15 +01:00
ascii.xml Bug#27562: ascii.xml invalid? 2007-08-07 05:35:20 -04:00
cp850.xml Many files: 2006-12-23 20:17:15 +01:00
cp852.xml Many files: 2006-12-23 20:17:15 +01:00
cp866.xml Many files: 2006-12-23 20:17:15 +01:00
cp1250.xml Merge mysql.com:/home/kent/bk/main/mysql-5.0 2006-12-23 20:20:40 +01:00
cp1251.xml Many files: 2006-12-23 20:17:15 +01:00
cp1256.xml Many files: 2006-12-23 20:17:15 +01:00
cp1257.xml Many files: 2006-12-23 20:17:15 +01:00
dec8.xml Many files: 2006-12-23 20:17:15 +01:00
geostd8.xml Many files: 2006-12-23 20:17:15 +01:00
greek.xml Many files: 2006-12-23 20:17:15 +01:00
hebrew.xml Merge siva.hindu.god:/usr/home/tim/m/bk/g50 2006-12-26 22:28:28 -07:00
hp8.xml Many files: 2006-12-23 20:17:15 +01:00
Index.xml Merge mysql.com:/home/kent/bk/main/mysql-5.0 2006-12-23 20:20:40 +01:00
keybcs2.xml Many files: 2006-12-23 20:17:15 +01:00
koi8r.xml Many files: 2006-12-23 20:17:15 +01:00
koi8u.xml Many files: 2006-12-23 20:17:15 +01:00
languages.html
latin1.xml Many files: 2006-12-23 20:17:15 +01:00
latin2.xml Many files: 2006-12-23 20:17:15 +01:00
latin5.xml Many files: 2006-12-23 20:17:15 +01:00
latin7.xml Many files: 2006-12-23 20:17:15 +01:00
macce.xml Many files: 2006-12-23 20:17:15 +01:00
macroman.xml Many files: 2006-12-23 20:17:15 +01:00
README Updating charset doc files. 2008-05-28 15:03:47 +05:00
swe7.xml Many files: 2006-12-23 20:17:15 +01:00

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.