Rechercher dans le manuel MySQL
13.7.6.3 SHOW CHARACTER SET Syntax
The SHOW CHARACTER SET
statement
shows all available character sets. The
LIKE
clause, if present, indicates
which character set names to match. The WHERE
clause can be given to select rows using more general
conditions, as discussed in Section 25.42, “Extensions to SHOW Statements”. For
example:
- +---------+-----------------------------+-------------------+--------+
- +---------+-----------------------------+-------------------+--------+
- | latin1 | cp1252 West European | latin1_swedish_ci | 1 |
- | latin2 | ISO 8859-2 Central European | latin2_general_ci | 1 |
- | latin5 | ISO 8859-9 Turkish | latin5_turkish_ci | 1 |
- | latin7 | ISO 8859-13 Baltic | latin7_general_ci | 1 |
- +---------+-----------------------------+-------------------+--------+
SHOW CHARACTER SET
output has
these columns:
Charset
The character set name.
Description
A description of the character set.
Default collation
The default collation for the character set.
Maxlen
The maximum number of bytes required to store one character.
The filename
character set is for internal
use only; consequently, SHOW CHARACTER
SET
does not display it.
Character set information is also available from the
INFORMATION_SCHEMA
CHARACTER_SETS
table. See
Section 25.2, “The INFORMATION_SCHEMA CHARACTER_SETS Table”.
Document created the 26/06/2006, last modified the 26/10/2018
Source of the printed document:https://www.gaudry.be/en/mysql-rf-show-character-set.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.