Skip to main content
Version: 3.12.0

SHOW CHARSET

The SHOW CHARSET statement shows the available character sets.

Currently available types are utf8 and utf8mb4. The default charset type is utf8. NebulaGraph extends the uft8 to support four-byte characters. Therefore utf8 and utf8mb4 are equivalent.

Syntax

SHOW CHARSET;

Example

nebula> SHOW CHARSET;
+---------+-----------------+-------------------+--------+
| Charset | Description | Default collation | Maxlen |
+---------+-----------------+-------------------+--------+
| "utf8" | "UTF-8 Unicode" | "utf8_bin" | 4 |
+---------+-----------------+-------------------+--------+
ParameterDescription
CharsetThe name of the character set.
DescriptionThe description of the character set.
Default collationThe default collation of the character set.
MaxlenThe maximum number of bytes required to store one character.