ORIONIS API REFERENCE

THE ORIONIS API

Build with clarity.

Explore the building blocks of an async-first Python framework. Every module, class, and method — connected, searchable, and ready to build with.

class documentation

class MySQLCharset(Enum): (source)

View In Hierarchy

Enumerate MySQL character sets usable by the configured connection drivers.

The list follows MySQL 8.4 client-compatible character sets that map to Python codecs used by PyMySQL and aiomysql. It excludes server character sets without a matching Python codec and ucs2, utf16, utf16le, and utf32, which MySQL forbids as client connection character sets.

Returns
MySQLCharsetThe enumeration member representing a MySQL connection character set.
Constant ASCII US ASCII.
Constant BIG5 Big5 Traditional Chinese.
Constant CP1250 Windows Central European.
Constant CP1251 Windows Cyrillic.
Constant CP1256 Windows Arabic.
Constant CP1257 Windows Baltic.
Constant CP850 DOS West European.
Constant CP852 DOS Central European.
Constant CP866 DOS Russian.
Constant CP932 SJIS for Windows Japanese.
Constant EUCKR EUC-KR Korean.
Constant GB18030 GB18030 Chinese national standard.
Constant GB2312 GB2312 Simplified Chinese.
Constant GBK GBK Simplified Chinese.
Constant GREEK ISO 8859-7 Greek.
Constant HEBREW ISO 8859-8 Hebrew.
Constant KOI8R KOI8-R Relcom Russian.
Constant KOI8U KOI8-U Ukrainian.
Constant LATIN1 cp1252 West European.
Constant LATIN2 ISO 8859-2 Central European.
Constant LATIN5 ISO 8859-9 Turkish.
Constant LATIN7 ISO 8859-13 Baltic.
Constant MACROMAN Mac West European.
Constant SJIS Shift-JIS Japanese.
Constant TIS620 TIS620 Thai.
Constant UJIS EUC-JP Japanese.
Constant UTF8 Deprecated MySQL alias for UTF8MB3; use UTF8MB4 for new connections.
Constant UTF8MB3 Deprecated UTF-8 Unicode limited to three bytes per character.
Constant UTF8MB4 UTF-8 Unicode with up to four bytes per character.

US ASCII.

Value
'ascii'

Big5 Traditional Chinese.

Value
'big5'

Windows Central European.

Value
'cp1250'

Windows Cyrillic.

Value
'cp1251'

Windows Arabic.

Value
'cp1256'

Windows Baltic.

Value
'cp1257'

DOS West European.

Value
'cp850'

DOS Central European.

Value
'cp852'

DOS Russian.

Value
'cp866'

SJIS for Windows Japanese.

Value
'cp932'

EUC-KR Korean.

Value
'euckr'

GB18030 Chinese national standard.

Value
'gb18030'

GB2312 Simplified Chinese.

Value
'gb2312'

GBK Simplified Chinese.

Value
'gbk'

ISO 8859-7 Greek.

Value
'greek'

ISO 8859-8 Hebrew.

Value
'hebrew'

KOI8-R Relcom Russian.

Value
'koi8r'

KOI8-U Ukrainian.

Value
'koi8u'

cp1252 West European.

Value
'latin1'

ISO 8859-2 Central European.

Value
'latin2'

ISO 8859-9 Turkish.

Value
'latin5'

ISO 8859-13 Baltic.

Value
'latin7'
MACROMAN: str = (source)

Mac West European.

Value
'macroman'

Shift-JIS Japanese.

Value
'sjis'

TIS620 Thai.

Value
'tis620'

EUC-JP Japanese.

Value
'ujis'

Deprecated MySQL alias for UTF8MB3; use UTF8MB4 for new connections.

Value
'utf8'

Deprecated UTF-8 Unicode limited to three bytes per character.

Value
'utf8mb3'

UTF-8 Unicode with up to four bytes per character.

Value
'utf8mb4'