Structure
MySQLProtocol.CharacterSet
A character set is defined in the protocol as a integer.
struct CharacterSet
Overview
MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode. https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
Topics
Initializers
init(integerLiteral: UInt8)SeeExpressibleByIntegerLiteral/init(integerLiteral:).init(rawValue: UInt8)SeeRawRepresentable/init(rawValue:).
Instance Properties
var description: StringSeeCustomStringConvertible/description.var name: StringThis character set’s readable name.var rawValue: UInt8charset_nr(2) – number of the character set and collation
Type Properties
static var armscii8: MySQLProtocol.CharacterSetarmscii8_general_cistatic var ascii: MySQLProtocol.CharacterSetascii_general_cistatic var big5: MySQLProtocol.CharacterSetbig5_chinese_cistatic var binary: MySQLProtocol.CharacterSetbinarystatic var cp1250: MySQLProtocol.CharacterSetcp1250_general_cistatic var cp1251: MySQLProtocol.CharacterSetcp1251_general_cistatic var cp1256: MySQLProtocol.CharacterSetcp1256_general_cistatic var cp1257: MySQLProtocol.CharacterSetcp1257_general_cistatic var cp850: MySQLProtocol.CharacterSetcp850_general_cistatic var cp852: MySQLProtocol.CharacterSetcp852_general_cistatic var cp866: MySQLProtocol.CharacterSetcp866_general_cistatic var cp932: MySQLProtocol.CharacterSetcp932_japanese_cistatic var dec8: MySQLProtocol.CharacterSetdec8_swedish_cistatic var eucjpms: MySQLProtocol.CharacterSeteucjpms_japanese_cistatic var euckr: MySQLProtocol.CharacterSeteuckr_korean_cistatic var gb18030: MySQLProtocol.CharacterSetgb18030_chinese_cistatic var gb2312: MySQLProtocol.CharacterSetgb2312_chinese_cistatic var gbk: MySQLProtocol.CharacterSetgbk_chinese_cistatic var geostd8: MySQLProtocol.CharacterSetgeostd8_general_cistatic var greek: MySQLProtocol.CharacterSetgreek_general_cistatic var hebrew: MySQLProtocol.CharacterSethebrew_general_cistatic var hp8: MySQLProtocol.CharacterSethp8_english_cistatic var keybcs2: MySQLProtocol.CharacterSetkeybcs2_general_cistatic var koi8r: MySQLProtocol.CharacterSetkoi8r_general_cistatic var koi8u: MySQLProtocol.CharacterSetkoi8u_general_cistatic var latin1: MySQLProtocol.CharacterSetlatin1_swedish_cistatic var latin2: MySQLProtocol.CharacterSetlatin2_general_cistatic var latin5: MySQLProtocol.CharacterSetlatin5_turkish_cistatic var latin7: MySQLProtocol.CharacterSetlatin7_general_cistatic var macce: MySQLProtocol.CharacterSetmacce_general_cistatic var macroman: MySQLProtocol.CharacterSetmacroman_general_cistatic var sjis: MySQLProtocol.CharacterSetsjis_japanese_cistatic var swe7: MySQLProtocol.CharacterSetswe7_swedish_cistatic var tis620: MySQLProtocol.CharacterSettis620_thai_cistatic var ucs2: MySQLProtocol.CharacterSetucs2_general_cistatic var ujis: MySQLProtocol.CharacterSetujis_japanese_cistatic var utf16: MySQLProtocol.CharacterSetutf16_general_cistatic var utf16le: MySQLProtocol.CharacterSetutf16le_general_cistatic var utf32: MySQLProtocol.CharacterSetutf32_general_cistatic var utf8: MySQLProtocol.CharacterSetutf8_general_cistatic var utf8mb4: MySQLProtocol.CharacterSetutf8mb4_0900_ai_ci
Relationships
Conforms To
Swift.CustomStringConvertibleSwift.EquatableSwift.ExpressibleByIntegerLiteralSwift.RawRepresentableSwift.SendableSwift.SendableMetatype