Expand description
MySQL charset names and the collation each one defaults to.
v7.39.2 — moved here from spg-engine’s collate because the
PARSER needs it: _utf8mb4'x' is a charset introducer only when the
word after the underscore names a charset, and deciding that is
parsing. The engine reads the same table through this module rather
than keeping a second copy — two lists of one fact is how the
surfaces in this release came to disagree in the first place.
Constants§
- MYSQL_
CHARSET_ DEFAULT_ COLLATION - Do trailing spaces count in a comparison under this collation?
- MYSQL_
COLLATIONS - Every collation MySQL 9.7.2 or MariaDB 12.3.3 serves, read from
their own
information_schema.collations— 575 names, sorted forbinary_search.
Functions§
- charset_
default_ collation - The collation
SET NAMES <charset>selects, orNonefor a charset this build does not know. An unknown name is not silently mapped to a default: that is how a session ends up padding differently from what it was told. - is_
mysql_ collation - Is this a collation name MySQL or MariaDB serves?