mariadb/sql/share/charsets
Rucha Deodhar 2fdb556e04 MDEV-8334: Rename utf8 to utf8mb3
This patch changes the main name of 3 byte character set from utf8 to
utf8mb3. New old_mode UTF8_IS_UTF8MB3 is added and set TRUE by default,
so that utf8 would mean utf8mb3. If not set, utf8 would mean utf8mb4.
2021-05-19 06:48:36 +02:00
..
armscii8.xml Update FSF Address 2019-05-11 21:29:06 +03:00
ascii.xml Update FSF Address 2019-05-11 21:29:06 +03:00
cp850.xml Update FSF Address 2019-05-11 21:29:06 +03:00
cp852.xml Update FSF Address 2019-05-11 21:29:06 +03:00
cp866.xml Update FSF Address 2019-05-11 21:29:06 +03:00
cp1250.xml Update FSF Address 2019-05-11 21:29:06 +03:00
cp1251.xml Update FSF Address 2019-05-11 21:29:06 +03:00
cp1256.xml Update FSF Address 2019-05-11 21:29:06 +03:00
cp1257.xml Update FSF Address 2019-05-11 21:29:06 +03:00
dec8.xml Update FSF Address 2019-05-11 21:29:06 +03:00
geostd8.xml Update FSF Address 2019-05-11 21:29:06 +03:00
greek.xml Update FSF Address 2019-05-11 21:29:06 +03:00
hebrew.xml Update FSF Address 2019-05-11 21:29:06 +03:00
hp8.xml Update FSF Address 2019-05-11 21:29:06 +03:00
Index.xml MDEV-8334: Rename utf8 to utf8mb3 2021-05-19 06:48:36 +02:00
keybcs2.xml Update FSF Address 2019-05-11 21:29:06 +03:00
koi8r.xml Update FSF Address 2019-05-11 21:29:06 +03:00
koi8u.xml Update FSF Address 2019-05-11 21:29:06 +03:00
languages.html Update FSF Address 2019-05-11 21:29:06 +03:00
latin1.xml Update FSF Address 2019-05-11 21:29:06 +03:00
latin2.xml Update FSF Address 2019-05-11 21:29:06 +03:00
latin5.xml Update FSF Address 2019-05-11 21:29:06 +03:00
latin7.xml Update FSF Address 2019-05-11 21:29:06 +03:00
macce.xml Update FSF Address 2019-05-11 21:29:06 +03:00
macroman.xml Update FSF Address 2019-05-11 21:29:06 +03:00
README
swe7.xml Update FSF Address 2019-05-11 21:29:06 +03: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.