- 11.1.1 Character Sets and Collations in General
- 11.1.2 Character Sets and Collations in MySQL
- 11.1.3 Collation Naming Conventions
- 11.1.4 Specifying Character Sets and Collations
- 11.1.5 Connection Character Sets and Collations
- 11.1.6 Configuring the Character Set and Collation for Applications
- 11.1.7 Character Set for Error Messages
- 11.1.8 Collation Issues
- 11.1.9 String Repertoire
- 11.1.10 Operations Affected by Character Set Support
- 11.1.11 Unicode Support
- 11.1.12 Upgrading from Previous to Current Unicode Support
- 11.1.13 UTF-8 for Metadata
- 11.1.14 Column Character Set Conversion
- 11.1.15 Character Sets and Collations Supported by MySQL
MySQL includes character set support that enables you to store
data using a variety of character sets and perform comparisons
according to a variety of collations. You can specify character
sets at the server, database, table, and column level. MySQL
supports the use of character sets for the
InnoDB storage engines.
This chapter discusses the following topics:
What are character sets and collations?
The multiple-level default system for character set assignment.
Syntax for specifying character sets and collations.
Affected functions and operations.
The character sets and collations that are available, with notes.
Character set issues affect not only data storage, but also
communication between client programs and the MySQL server. If you
want the client program to communicate with the server using a
character set different from the default, you'll need to indicate
which one. For example, to use the
character set, issue this statement after connecting to the
SET NAMES 'utf8';
For more information about configuring character sets for application use and character set-related issues in client/server communication, see Section 11.1.6, “Configuring the Character Set and Collation for Applications”, and Section 11.1.5, “Connection Character Sets and Collations”.