package
0.0.0-20241212002435-a4aaf8ca5232
Repository: https://github.com/chrislusf/gleam.git
Documentation: pkg.go.dev

# Functions

GetAllCharsets gets all charset descriptions in the local charsets.
GetCharsetInfo returns charset and collation for cs as name.
GetCollations returns a list for all collations.
GetDefaultCollation returns the default collation for charset.
Lookup returns the encoding with the specified label, and its canonical name.
ValidCharsetAndCollation checks the charset and the collation validity and returns a boolean.

# Constants

CharsetBin is used for marking binary charset.
CharsetUTF8 is the default charset for string types.
CharsetUTF8MB4 represents 4 bytes utf8, which works the same way as utf8 in Go.
CollationBin is the default collation for CharsetBin.
CollationUTF8 is the default collation for CharsetUTF8.
CollationUTF8MB4 is the default collation for CharsetUTF8MB4.

# Structs

Charset is a charset.
Collation is a collation.
Desc is a charset description.