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.
 
 
 
 
 
 
unknown d6d7213d68 Merge mysql.com:/usr/home/bar/mysql-4.1.12076 20 years ago
..
Index.xml Merge mysql.com:/usr/home/bar/mysql-4.1.12076 20 years ago
README Associate a charset directly with its number in the Index file, and 26 years ago
armscii8.xml Add GPL notice to a bunch of files. 22 years ago
ascii.xml Add GPL notice to a bunch of files. 22 years ago
cp850.xml Add GPL notice to a bunch of files. 22 years ago
cp852.xml Add GPL notice to a bunch of files. 22 years ago
cp866.xml Add GPL notice to a bunch of files. 22 years ago
cp1250.xml Bug#6611: wrong sorting order. 21 years ago
cp1251.xml Add GPL notice to a bunch of files. 22 years ago
cp1256.xml Add GPL notice to a bunch of files. 22 years ago
cp1257.xml Add GPL notice to a bunch of files. 22 years ago
dec8.xml Add GPL notice to a bunch of files. 22 years ago
geostd8.xml Add GPL notice to a bunch of files. 22 years ago
greek.xml Add GPL notice to a bunch of files. 22 years ago
hebrew.xml Add GPL notice to a bunch of files. 22 years ago
hp8.xml Add GPL notice to a bunch of files. 22 years ago
keybcs2.xml Add GPL notice to a bunch of files. 22 years ago
koi8r.xml Add GPL notice to a bunch of files. 22 years ago
koi8u.xml Add GPL notice to a bunch of files. 22 years ago
languages.html languages.html: 22 years ago
latin1.xml latin1.xml: 20 years ago
latin2.xml Bug#6505 Wrong sorting order: 21 years ago
latin5.xml Bug#13421 problem with sorting turkish 20 years ago
latin7.xml Add GPL notice to a bunch of files. 22 years ago
macce.xml Add GPL notice to a bunch of files. 22 years ago
macroman.xml Add GPL notice to a bunch of files. 22 years ago
swe7.xml Add GPL notice to a bunch of files. 22 years ago

README

This directory holds configuration files which allow MySQL to work with
different character sets. It contains:

*.conf
Each conf file contains four tables which describe character types,
lower- and upper-case equivalencies and sorting orders for the
character values in the set.

Index
The Index file lists all of the available charset configurations.

Each charset is paired with a number. The number is stored
IN THE DATABASE TABLE FILES and must not be changed. Always
add new character sets to the end of the list, so that the
numbers of the other character sets will not be changed.

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 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 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. Comments start with a '#' character and
proceed to the end of the line. Words are separated by arbitrary
amounts of whitespace.

For the character set configuration files, every word must be a
number in hexadecimal format. The ctype array takes up the first
257 words; the to_lower, to_upper and sort_order arrays take up 256
words each after that.