SHOW CHARACTER SET
On this page
Shows supported character sets and the default collation for each character set.
Syntax
SHOW {CHAR SET | CHARSET | CHARACTER SET}[WHERE Charset = '<charset_name>']
Output
The following table describes the columns returned by the SHOW CHARACTER SET command.
|
Column |
Description |
|---|---|
|
Charset |
The name of the character set. |
|
Description |
Description of the character set. |
|
Default collation |
The default collation for this character set. |
|
Maxlen |
The maximum number of bytes required to store a single character in this character set. |
Remarks
-
Refer to Character Sets Supported for information about supported character sets and their usage.
-
Available character sets can also be seen using the CHARACTER_
SETS view. -
Refer to Specifying Character Set and Collation for Workspaces for information on specifying character sets.
Example
singlestore> SHOW CHARACTER SET;
+---------+-----------------------+--------------------+--------+
| Charset | Description | Default collation | Maxlen |
+---------+-----------------------+--------------------+--------+
| utf8mb4 | UTF-8 Unicode | utf8mb4_bin | 4 |
| utf8 | UTF-8 Unicode | utf8_bin | 3 |
| binary | Binary pseudo charset | binary | 1 |
+---------+-----------------------+--------------------+--------+Last modified: October 28, 2025