Documentation ¶
Index ¶
- func Ascii_bin_RuneWeight(r rune) int32
- func Ascii_general_ci_RuneWeight(r rune) int32
- func Binary_RuneWeight(r rune) int32
- func BytesToString(str []byte) string
- func Latin1_bin_RuneWeight(r rune) int32
- func Latin1_general_ci_RuneWeight(r rune) int32
- func Latin1_general_cs_RuneWeight(r rune) int32
- func Latin1_german1_ci_RuneWeight(r rune) int32
- func Latin1_german2_ci_RuneWeight(r rune) int32
- func Latin1_swedish_ci_RuneWeight(r rune) int32
- func StringToBytes(str string) []byte
- func Utf16_bin_RuneWeight(r rune) int32
- func Utf16_general_ci_RuneWeight(r rune) int32
- func Utf16_unicode_ci_RuneWeight(r rune) int32
- func Utf32_bin_RuneWeight(r rune) int32
- func Utf32_general_ci_RuneWeight(r rune) int32
- func Utf8mb3_bin_RuneWeight(r rune) int32
- func Utf8mb3_general_ci_RuneWeight(r rune) int32
- func Utf8mb3_unicode_ci_RuneWeight(r rune) int32
- func Utf8mb4_0900_ai_ci_RuneWeight(r rune) int32
- func Utf8mb4_0900_as_cs_RuneWeight(r rune) int32
- func Utf8mb4_0900_bin_RuneWeight(r rune) int32
- func Utf8mb4_bin_RuneWeight(r rune) int32
- func Utf8mb4_cs_0900_as_cs_RuneWeight(r rune) int32
- func Utf8mb4_general_ci_RuneWeight(r rune) int32
- func Utf8mb4_unicode_520_ci_RuneWeight(r rune) int32
- func Utf8mb4_unicode_ci_RuneWeight(r rune) int32
- type Encoder
- type RangeMap
- func (rm *RangeMap) Decode(str []byte) ([]byte, bool)
- func (rm *RangeMap) DecodeRune(r []byte) ([]byte, bool)
- func (rm *RangeMap) Encode(str []byte) ([]byte, bool)
- func (rm *RangeMap) EncodeRune(r []byte) ([]byte, bool)
- func (rm *RangeMap) IsReturnSafe() bool
- func (rm *RangeMap) Lowercase(str string) string
- func (rm *RangeMap) LowercaseRune(r rune) rune
- func (rm *RangeMap) NextRune(str string) (rune, int)
- func (rm *RangeMap) Uppercase(str string) string
- func (rm *RangeMap) UppercaseRune(r rune) rune
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Ascii_bin_RuneWeight ¶
Ascii_bin_RuneWeight returns the weight of a given rune based on its relational sort order from the `ascii_bin` collation.
func Ascii_general_ci_RuneWeight ¶
Ascii_general_ci_RuneWeight returns the weight of a given rune based on its relational sort order from the `ascii_general_ci` collation.
func Binary_RuneWeight ¶
Binary_RuneWeight returns the weight of a given rune based on its relational sort order from the `binary` collation.
func BytesToString ¶
BytesToString returns the byte slice (representing a valid Go/utf8mb4-encoded string) as a string without allocations. After this call is made, no further changes should be made to the byte slice, as strings are supposed to be immutable. Alterations could lead to undefined behavior. This properly handles nil and empty byte slices.
func Latin1_bin_RuneWeight ¶
Latin1_bin_RuneWeight returns the weight of a given rune based on its relational sort order from the `latin1_bin` collation.
func Latin1_general_ci_RuneWeight ¶
Latin1_general_ci_RuneWeight returns the weight of a given rune based on its relational sort order from the `latin1_general_ci` collation.
func Latin1_general_cs_RuneWeight ¶
Latin1_general_cs_RuneWeight returns the weight of a given rune based on its relational sort order from the `latin1_general_cs` collation.
func Latin1_german1_ci_RuneWeight ¶
Latin1_german1_ci_RuneWeight returns the weight of a given rune based on its relational sort order from the `latin1_german1_ci` collation.
func Latin1_german2_ci_RuneWeight ¶
Latin1_german2_ci_RuneWeight returns the weight of a given rune based on its relational sort order from the `latin1_german2_ci` collation.
func Latin1_swedish_ci_RuneWeight ¶
Latin1_swedish_ci_RuneWeight returns the weight of a given rune based on its relational sort order from the `latin1_swedish_ci` collation.
func StringToBytes ¶
StringToBytes returns the string as a byte slice without allocations. No changes should be made to the returned byte slice, as strings are supposed to be immutable. Alterations could lead to undefined behavior. This is only intended to allow strings to be passed to any functions that work on string data as a byte slice, and specifically do not modify the byte slice. This properly handles empty strings.
func Utf16_bin_RuneWeight ¶
Utf16_bin_RuneWeight returns the weight of a given rune based on its relational sort order from the `utf16_bin` collation.
func Utf16_general_ci_RuneWeight ¶
Utf16_general_ci_RuneWeight returns the weight of a given rune based on its relational sort order from the `utf16_general_ci` collation.
func Utf16_unicode_ci_RuneWeight ¶
Utf16_unicode_ci_RuneWeight returns the weight of a given rune based on its relational sort order from the `utf16_unicode_ci` collation.
func Utf32_bin_RuneWeight ¶
Utf32_bin_RuneWeight returns the weight of a given rune based on its relational sort order from the `utf32_bin` collation.
func Utf32_general_ci_RuneWeight ¶
Utf32_general_ci_RuneWeight returns the weight of a given rune based on its relational sort order from the `utf32_general_ci` collation.
func Utf8mb3_bin_RuneWeight ¶
Utf8mb3_bin_RuneWeight returns the weight of a given rune based on its relational sort order from the `utf8mb3_bin` collation.
func Utf8mb3_general_ci_RuneWeight ¶
Utf8mb3_general_ci_RuneWeight returns the weight of a given rune based on its relational sort order from the `utf8mb3_general_ci` collation.
func Utf8mb3_unicode_ci_RuneWeight ¶
Utf8mb3_unicode_ci_RuneWeight returns the weight of a given rune based on its relational sort order from the `utf8mb3_unicode_ci` collation.
func Utf8mb4_0900_ai_ci_RuneWeight ¶
Utf8mb4_0900_ai_ci_RuneWeight returns the weight of a given rune based on its relational sort order from the `utf8mb4_0900_ai_ci` collation.
func Utf8mb4_0900_as_cs_RuneWeight ¶
Utf8mb4_0900_as_cs_RuneWeight returns the weight of a given rune based on its relational sort order from the `utf8mb4_0900_as_cs` collation.
func Utf8mb4_0900_bin_RuneWeight ¶
Utf8mb4_0900_bin_RuneWeight returns the weight of a given rune based on its relational sort order from the `utf8mb4_0900_bin` collation.
func Utf8mb4_bin_RuneWeight ¶
Utf8mb4_bin_RuneWeight returns the weight of a given rune based on its relational sort order from the `utf8mb4_bin` collation.
func Utf8mb4_cs_0900_as_cs_RuneWeight ¶
Utf8mb4_cs_0900_as_cs_RuneWeight returns the weight of a given rune based on its relational sort order from the `utf8mb4_cs_0900_as_cs` collation.
func Utf8mb4_general_ci_RuneWeight ¶
Utf8mb4_general_ci_RuneWeight returns the weight of a given rune based on its relational sort order from the `utf8mb4_general_ci` collation.
func Utf8mb4_unicode_520_ci_RuneWeight ¶
Utf8mb4_unicode_520_ci_RuneWeight returns the weight of a given rune based on its relational sort order from the `utf8mb4_unicode_520_ci` collation.
func Utf8mb4_unicode_ci_RuneWeight ¶
Utf8mb4_unicode_ci_RuneWeight returns the weight of a given rune based on its relational sort order from the `utf8mb4_unicode_ci` collation.
Types ¶
type Encoder ¶
type Encoder interface { // Decode converts from the encoding represented by this Encoder to Go's string encoding (utf8mb4-equivalent). This is // intended for decoding whole strings (that are represented as byte slices), to decode individual codepoints use // DecodeRune. Do note that the string parameter is NOT modified in any way. Refer to IsReturnSafe to check if the // returned byte slice must be copied before modifications may be made. Decode(str []byte) ([]byte, bool) // Encode converts from Go's string encoding (utf8mb4-equivalent) to the encoding represented by this Encoder. This is // intended for encoding whole strings (that are represented as byte slices), to encode individual codepoints use // EncodeRune. Do note that the string parameter is NOT modified in any way. Refer to IsReturnSafe to check if the // returned byte slice must be copied before modifications may be made. Encode(str []byte) ([]byte, bool) // DecodeRune converts from the encoding represented by this Encoder to Go's rune encoding (utf8mb4-equivalent). // Refer to IsReturnSafe to check if the returned byte slice must be copied before modifications may be made. DecodeRune(r []byte) ([]byte, bool) // EncodeRune converts from Go's rune encoding (utf8mb4-equivalent) to the encoding represented by this Encoder. // Refer to IsReturnSafe to check if the returned byte slice must be copied before modifications may be made. EncodeRune(r []byte) ([]byte, bool) // Uppercase returns a new string with all codepoints converted to their uppercase variants as determined by this // Encoder. Uppercase(str string) string // Lowercase returns a new string with all codepoints converted to their lowercase variants as determined by this // Encoder. Lowercase(str string) string // UppercaseRune returns the uppercase variant of the given rune. If the rune does not have such a variant, then the // input rune is returned. UppercaseRune(r rune) rune // LowercaseRune returns the lowercase variant of the given rune. If the rune does not have such a variant, then the // input rune is returned. LowercaseRune(r rune) rune // NextRune returns the next rune of a string that was decoded by this encoder. This is ONLY intended for sorting // both character strings and binary strings from a single code path. All non-binary strings will use // utf8.DecodeRuneInString internally, therefore it is recommended that all performance-critical code handles binary // strings separately, and uses utf8.DecodeRuneInString without having to go through this interface. NextRune(str string) (rune, int) // IsReturnSafe returns whether it is safe to modify the byte slices returned by Decode, Encode, DecodeRune, and // EncodeRune. IsReturnSafe() bool }
Encoder is used to transcode from one encoding to another, along with handling uppercase and lowercase conversions. Decoding always converts to Go's string encoding, while encoding always converts to the target encoding. Encoding and decoding are bidirectional.
var Ascii Encoder = &RangeMap{ inputEntries: [][]rangeMapEntry{ { { inputRange: rangeBounds{{0, 127}}, outputRange: rangeBounds{{0, 127}}, inputMults: []int{1}, outputMults: []int{1}, }, }, nil, nil, nil, }, outputEntries: [][]rangeMapEntry{ { { inputRange: rangeBounds{{0, 127}}, outputRange: rangeBounds{{0, 127}}, inputMults: []int{1}, outputMults: []int{1}, }, }, nil, nil, nil, }, toUpper: map[rune]rune{ 97: 65, 98: 66, 99: 67, 100: 68, 101: 69, 102: 70, 103: 71, 104: 72, 105: 73, 106: 74, 107: 75, 108: 76, 109: 77, 110: 78, 111: 79, 112: 80, 113: 81, 114: 82, 115: 83, 116: 84, 117: 85, 118: 86, 119: 87, 120: 88, 121: 89, 122: 90, }, toLower: map[rune]rune{ 65: 97, 66: 98, 67: 99, 68: 100, 69: 101, 70: 102, 71: 103, 72: 104, 73: 105, 74: 106, 75: 107, 76: 108, 77: 109, 78: 110, 79: 111, 80: 112, 81: 113, 82: 114, 83: 115, 84: 116, 85: 117, 86: 118, 87: 119, 88: 120, 89: 121, 90: 122, }, }
Ascii represents the `ascii` character set encoding.
var Binary Encoder = binaryEncoder{}
Binary represents the `binary` character set encoding.
var Latin1 Encoder = &RangeMap{ inputEntries: [][]rangeMapEntry{ { { inputRange: rangeBounds{{0, 127}}, outputRange: rangeBounds{{0, 127}}, inputMults: []int{1}, outputMults: []int{1}, }, { inputRange: rangeBounds{{128, 128}}, outputRange: rangeBounds{{226, 226}, {130, 130}, {172, 172}}, inputMults: []int{1}, outputMults: []int{1, 1, 1}, }, { inputRange: rangeBounds{{129, 129}}, outputRange: rangeBounds{{194, 194}, {129, 129}}, inputMults: []int{1}, outputMults: []int{1, 1}, }, { inputRange: rangeBounds{{130, 130}}, outputRange: rangeBounds{{226, 226}, {128, 128}, {154, 154}}, inputMults: []int{1}, outputMults: []int{1, 1, 1}, }, { inputRange: rangeBounds{{131, 131}}, outputRange: rangeBounds{{198, 198}, {146, 146}}, inputMults: []int{1}, outputMults: []int{1, 1}, }, { inputRange: rangeBounds{{132, 132}}, outputRange: rangeBounds{{226, 226}, {128, 128}, {158, 158}}, inputMults: []int{1}, outputMults: []int{1, 1, 1}, }, { inputRange: rangeBounds{{133, 133}}, outputRange: rangeBounds{{226, 226}, {128, 128}, {166, 166}}, inputMults: []int{1}, outputMults: []int{1, 1, 1}, }, { inputRange: rangeBounds{{134, 135}}, outputRange: rangeBounds{{226, 226}, {128, 128}, {160, 161}}, inputMults: []int{1}, outputMults: []int{2, 2, 1}, }, { inputRange: rangeBounds{{136, 136}}, outputRange: rangeBounds{{203, 203}, {134, 134}}, inputMults: []int{1}, outputMults: []int{1, 1}, }, { inputRange: rangeBounds{{137, 137}}, outputRange: rangeBounds{{226, 226}, {128, 128}, {176, 176}}, inputMults: []int{1}, outputMults: []int{1, 1, 1}, }, { inputRange: rangeBounds{{138, 138}}, outputRange: rangeBounds{{197, 197}, {160, 160}}, inputMults: []int{1}, outputMults: []int{1, 1}, }, { inputRange: rangeBounds{{139, 139}}, outputRange: rangeBounds{{226, 226}, {128, 128}, {185, 185}}, inputMults: []int{1}, outputMults: []int{1, 1, 1}, }, { inputRange: rangeBounds{{140, 140}}, outputRange: rangeBounds{{197, 197}, {146, 146}}, inputMults: []int{1}, outputMults: []int{1, 1}, }, { inputRange: rangeBounds{{141, 141}}, outputRange: rangeBounds{{194, 194}, {141, 141}}, inputMults: []int{1}, outputMults: []int{1, 1}, }, { inputRange: rangeBounds{{142, 142}}, outputRange: rangeBounds{{197, 197}, {189, 189}}, inputMults: []int{1}, outputMults: []int{1, 1}, }, { inputRange: rangeBounds{{143, 144}}, outputRange: rangeBounds{{194, 194}, {143, 144}}, inputMults: []int{1}, outputMults: []int{2, 1}, }, { inputRange: rangeBounds{{145, 146}}, outputRange: rangeBounds{{226, 226}, {128, 128}, {152, 153}}, inputMults: []int{1}, outputMults: []int{2, 2, 1}, }, { inputRange: rangeBounds{{147, 148}}, outputRange: rangeBounds{{226, 226}, {128, 128}, {156, 157}}, inputMults: []int{1}, outputMults: []int{2, 2, 1}, }, { inputRange: rangeBounds{{149, 149}}, outputRange: rangeBounds{{226, 226}, {128, 128}, {162, 162}}, inputMults: []int{1}, outputMults: []int{1, 1, 1}, }, { inputRange: rangeBounds{{150, 151}}, outputRange: rangeBounds{{226, 226}, {128, 128}, {147, 148}}, inputMults: []int{1}, outputMults: []int{2, 2, 1}, }, { inputRange: rangeBounds{{152, 152}}, outputRange: rangeBounds{{203, 203}, {156, 156}}, inputMults: []int{1}, outputMults: []int{1, 1}, }, { inputRange: rangeBounds{{153, 153}}, outputRange: rangeBounds{{226, 226}, {132, 132}, {162, 162}}, inputMults: []int{1}, outputMults: []int{1, 1, 1}, }, { inputRange: rangeBounds{{154, 154}}, outputRange: rangeBounds{{197, 197}, {161, 161}}, inputMults: []int{1}, outputMults: []int{1, 1}, }, { inputRange: rangeBounds{{155, 155}}, outputRange: rangeBounds{{226, 226}, {128, 128}, {186, 186}}, inputMults: []int{1}, outputMults: []int{1, 1, 1}, }, { inputRange: rangeBounds{{156, 156}}, outputRange: rangeBounds{{197, 197}, {147, 147}}, inputMults: []int{1}, outputMults: []int{1, 1}, }, { inputRange: rangeBounds{{157, 157}}, outputRange: rangeBounds{{194, 194}, {157, 157}}, inputMults: []int{1}, outputMults: []int{1, 1}, }, { inputRange: rangeBounds{{158, 158}}, outputRange: rangeBounds{{197, 197}, {190, 190}}, inputMults: []int{1}, outputMults: []int{1, 1}, }, { inputRange: rangeBounds{{159, 159}}, outputRange: rangeBounds{{197, 197}, {184, 184}}, inputMults: []int{1}, outputMults: []int{1, 1}, }, { inputRange: rangeBounds{{160, 191}}, outputRange: rangeBounds{{194, 194}, {160, 191}}, inputMults: []int{1}, outputMults: []int{32, 1}, }, { inputRange: rangeBounds{{192, 255}}, outputRange: rangeBounds{{195, 195}, {128, 191}}, inputMults: []int{1}, outputMults: []int{64, 1}, }, }, nil, nil, nil, }, outputEntries: [][]rangeMapEntry{ { { inputRange: rangeBounds{{0, 127}}, outputRange: rangeBounds{{0, 127}}, inputMults: []int{1}, outputMults: []int{1}, }, }, { { inputRange: rangeBounds{{129, 129}}, outputRange: rangeBounds{{194, 194}, {129, 129}}, inputMults: []int{1}, outputMults: []int{1, 1}, }, { inputRange: rangeBounds{{131, 131}}, outputRange: rangeBounds{{198, 198}, {146, 146}}, inputMults: []int{1}, outputMults: []int{1, 1}, }, { inputRange: rangeBounds{{136, 136}}, outputRange: rangeBounds{{203, 203}, {134, 134}}, inputMults: []int{1}, outputMults: []int{1, 1}, }, { inputRange: rangeBounds{{138, 138}}, outputRange: rangeBounds{{197, 197}, {160, 160}}, inputMults: []int{1}, outputMults: []int{1, 1}, }, { inputRange: rangeBounds{{140, 140}}, outputRange: rangeBounds{{197, 197}, {146, 146}}, inputMults: []int{1}, outputMults: []int{1, 1}, }, { inputRange: rangeBounds{{141, 141}}, outputRange: rangeBounds{{194, 194}, {141, 141}}, inputMults: []int{1}, outputMults: []int{1, 1}, }, { inputRange: rangeBounds{{142, 142}}, outputRange: rangeBounds{{197, 197}, {189, 189}}, inputMults: []int{1}, outputMults: []int{1, 1}, }, { inputRange: rangeBounds{{143, 144}}, outputRange: rangeBounds{{194, 194}, {143, 144}}, inputMults: []int{1}, outputMults: []int{2, 1}, }, { inputRange: rangeBounds{{152, 152}}, outputRange: rangeBounds{{203, 203}, {156, 156}}, inputMults: []int{1}, outputMults: []int{1, 1}, }, { inputRange: rangeBounds{{154, 154}}, outputRange: rangeBounds{{197, 197}, {161, 161}}, inputMults: []int{1}, outputMults: []int{1, 1}, }, { inputRange: rangeBounds{{156, 156}}, outputRange: rangeBounds{{197, 197}, {147, 147}}, inputMults: []int{1}, outputMults: []int{1, 1}, }, { inputRange: rangeBounds{{157, 157}}, outputRange: rangeBounds{{194, 194}, {157, 157}}, inputMults: []int{1}, outputMults: []int{1, 1}, }, { inputRange: rangeBounds{{158, 158}}, outputRange: rangeBounds{{197, 197}, {190, 190}}, inputMults: []int{1}, outputMults: []int{1, 1}, }, { inputRange: rangeBounds{{159, 159}}, outputRange: rangeBounds{{197, 197}, {184, 184}}, inputMults: []int{1}, outputMults: []int{1, 1}, }, { inputRange: rangeBounds{{160, 191}}, outputRange: rangeBounds{{194, 194}, {160, 191}}, inputMults: []int{1}, outputMults: []int{32, 1}, }, { inputRange: rangeBounds{{192, 255}}, outputRange: rangeBounds{{195, 195}, {128, 191}}, inputMults: []int{1}, outputMults: []int{64, 1}, }, }, { { inputRange: rangeBounds{{128, 128}}, outputRange: rangeBounds{{226, 226}, {130, 130}, {172, 172}}, inputMults: []int{1}, outputMults: []int{1, 1, 1}, }, { inputRange: rangeBounds{{130, 130}}, outputRange: rangeBounds{{226, 226}, {128, 128}, {154, 154}}, inputMults: []int{1}, outputMults: []int{1, 1, 1}, }, { inputRange: rangeBounds{{132, 132}}, outputRange: rangeBounds{{226, 226}, {128, 128}, {158, 158}}, inputMults: []int{1}, outputMults: []int{1, 1, 1}, }, { inputRange: rangeBounds{{133, 133}}, outputRange: rangeBounds{{226, 226}, {128, 128}, {166, 166}}, inputMults: []int{1}, outputMults: []int{1, 1, 1}, }, { inputRange: rangeBounds{{134, 135}}, outputRange: rangeBounds{{226, 226}, {128, 128}, {160, 161}}, inputMults: []int{1}, outputMults: []int{2, 2, 1}, }, { inputRange: rangeBounds{{137, 137}}, outputRange: rangeBounds{{226, 226}, {128, 128}, {176, 176}}, inputMults: []int{1}, outputMults: []int{1, 1, 1}, }, { inputRange: rangeBounds{{139, 139}}, outputRange: rangeBounds{{226, 226}, {128, 128}, {185, 185}}, inputMults: []int{1}, outputMults: []int{1, 1, 1}, }, { inputRange: rangeBounds{{145, 146}}, outputRange: rangeBounds{{226, 226}, {128, 128}, {152, 153}}, inputMults: []int{1}, outputMults: []int{2, 2, 1}, }, { inputRange: rangeBounds{{147, 148}}, outputRange: rangeBounds{{226, 226}, {128, 128}, {156, 157}}, inputMults: []int{1}, outputMults: []int{2, 2, 1}, }, { inputRange: rangeBounds{{149, 149}}, outputRange: rangeBounds{{226, 226}, {128, 128}, {162, 162}}, inputMults: []int{1}, outputMults: []int{1, 1, 1}, }, { inputRange: rangeBounds{{150, 151}}, outputRange: rangeBounds{{226, 226}, {128, 128}, {147, 148}}, inputMults: []int{1}, outputMults: []int{2, 2, 1}, }, { inputRange: rangeBounds{{153, 153}}, outputRange: rangeBounds{{226, 226}, {132, 132}, {162, 162}}, inputMults: []int{1}, outputMults: []int{1, 1, 1}, }, { inputRange: rangeBounds{{155, 155}}, outputRange: rangeBounds{{226, 226}, {128, 128}, {186, 186}}, inputMults: []int{1}, outputMults: []int{1, 1, 1}, }, }, nil, }, toUpper: map[rune]rune{ 97: 65, 98: 66, 99: 67, 100: 68, 101: 69, 102: 70, 103: 71, 104: 72, 105: 73, 106: 74, 107: 75, 108: 76, 109: 77, 110: 78, 111: 79, 112: 80, 113: 81, 114: 82, 115: 83, 116: 84, 117: 85, 118: 86, 119: 87, 120: 88, 121: 89, 122: 90, 224: 192, 225: 193, 226: 194, 227: 195, 228: 196, 229: 197, 230: 198, 231: 199, 232: 200, 233: 201, 234: 202, 235: 203, 236: 204, 237: 205, 238: 206, 239: 207, 240: 208, 241: 209, 242: 210, 243: 211, 244: 212, 245: 213, 246: 214, 248: 216, 249: 217, 250: 218, 251: 219, 252: 220, 253: 221, 254: 222, }, toLower: map[rune]rune{ 65: 97, 66: 98, 67: 99, 68: 100, 69: 101, 70: 102, 71: 103, 72: 104, 73: 105, 74: 106, 75: 107, 76: 108, 77: 109, 78: 110, 79: 111, 80: 112, 81: 113, 82: 114, 83: 115, 84: 116, 85: 117, 86: 118, 87: 119, 88: 120, 89: 121, 90: 122, 192: 224, 193: 225, 194: 226, 195: 227, 196: 228, 197: 229, 198: 230, 199: 231, 200: 232, 201: 233, 202: 234, 203: 235, 204: 236, 205: 237, 206: 238, 207: 239, 208: 240, 209: 241, 210: 242, 211: 243, 212: 244, 213: 245, 214: 246, 216: 248, 217: 249, 218: 250, 219: 251, 220: 252, 221: 253, 222: 254, }, }
Latin1 represents the `latin1` character set encoding.
var Utf16 Encoder = &RangeMap{ inputEntries: [][]rangeMapEntry{ nil, { { inputRange: rangeBounds{{0, 0}, {0, 127}}, outputRange: rangeBounds{{0, 127}}, inputMults: []int{128, 1}, outputMults: []int{1}, }, { inputRange: rangeBounds{{0, 0}, {128, 255}}, outputRange: rangeBounds{{194, 195}, {128, 191}}, inputMults: []int{128, 1}, outputMults: []int{64, 1}, }, { inputRange: rangeBounds{{1, 7}, {0, 255}}, outputRange: rangeBounds{{196, 223}, {128, 191}}, inputMults: []int{256, 1}, outputMults: []int{64, 1}, }, { inputRange: rangeBounds{{8, 15}, {0, 255}}, outputRange: rangeBounds{{224, 224}, {160, 191}, {128, 191}}, inputMults: []int{256, 1}, outputMults: []int{2048, 64, 1}, }, { inputRange: rangeBounds{{16, 215}, {0, 255}}, outputRange: rangeBounds{{225, 237}, {128, 191}, {128, 191}}, inputMults: []int{256, 1}, outputMults: []int{4096, 64, 1}, }, { inputRange: rangeBounds{{224, 255}, {0, 255}}, outputRange: rangeBounds{{238, 239}, {128, 191}, {128, 191}}, inputMults: []int{256, 1}, outputMults: []int{4096, 64, 1}, }, }, nil, { { inputRange: rangeBounds{{216, 216}, {0, 191}, {220, 223}, {0, 255}}, outputRange: rangeBounds{{240, 240}, {144, 191}, {128, 191}, {128, 191}}, inputMults: []int{196608, 1024, 256, 1}, outputMults: []int{196608, 4096, 64, 1}, }, { inputRange: rangeBounds{{216, 216}, {192, 255}, {220, 223}, {0, 255}}, outputRange: rangeBounds{{241, 241}, {128, 143}, {128, 191}, {128, 191}}, inputMults: []int{65536, 1024, 256, 1}, outputMults: []int{65536, 4096, 64, 1}, }, { inputRange: rangeBounds{{217, 217}, {0, 191}, {220, 223}, {0, 255}}, outputRange: rangeBounds{{241, 241}, {144, 191}, {128, 191}, {128, 191}}, inputMults: []int{196608, 1024, 256, 1}, outputMults: []int{196608, 4096, 64, 1}, }, { inputRange: rangeBounds{{217, 217}, {192, 255}, {220, 223}, {0, 255}}, outputRange: rangeBounds{{242, 242}, {128, 143}, {128, 191}, {128, 191}}, inputMults: []int{65536, 1024, 256, 1}, outputMults: []int{65536, 4096, 64, 1}, }, { inputRange: rangeBounds{{218, 218}, {0, 191}, {220, 223}, {0, 255}}, outputRange: rangeBounds{{242, 242}, {144, 191}, {128, 191}, {128, 191}}, inputMults: []int{196608, 1024, 256, 1}, outputMults: []int{196608, 4096, 64, 1}, }, { inputRange: rangeBounds{{218, 218}, {192, 255}, {220, 223}, {0, 255}}, outputRange: rangeBounds{{243, 243}, {128, 143}, {128, 191}, {128, 191}}, inputMults: []int{65536, 1024, 256, 1}, outputMults: []int{65536, 4096, 64, 1}, }, { inputRange: rangeBounds{{219, 219}, {0, 191}, {220, 223}, {0, 255}}, outputRange: rangeBounds{{243, 243}, {144, 191}, {128, 191}, {128, 191}}, inputMults: []int{196608, 1024, 256, 1}, outputMults: []int{196608, 4096, 64, 1}, }, { inputRange: rangeBounds{{219, 219}, {192, 255}, {220, 223}, {0, 255}}, outputRange: rangeBounds{{244, 244}, {128, 143}, {128, 191}, {128, 191}}, inputMults: []int{65536, 1024, 256, 1}, outputMults: []int{65536, 4096, 64, 1}, }, }, }, outputEntries: [][]rangeMapEntry{ { { inputRange: rangeBounds{{0, 0}, {0, 127}}, outputRange: rangeBounds{{0, 127}}, inputMults: []int{128, 1}, outputMults: []int{1}, }, }, { { inputRange: rangeBounds{{0, 0}, {128, 255}}, outputRange: rangeBounds{{194, 195}, {128, 191}}, inputMults: []int{128, 1}, outputMults: []int{64, 1}, }, { inputRange: rangeBounds{{1, 7}, {0, 255}}, outputRange: rangeBounds{{196, 223}, {128, 191}}, inputMults: []int{256, 1}, outputMults: []int{64, 1}, }, }, { { inputRange: rangeBounds{{8, 15}, {0, 255}}, outputRange: rangeBounds{{224, 224}, {160, 191}, {128, 191}}, inputMults: []int{256, 1}, outputMults: []int{2048, 64, 1}, }, { inputRange: rangeBounds{{16, 215}, {0, 255}}, outputRange: rangeBounds{{225, 237}, {128, 191}, {128, 191}}, inputMults: []int{256, 1}, outputMults: []int{4096, 64, 1}, }, { inputRange: rangeBounds{{224, 255}, {0, 255}}, outputRange: rangeBounds{{238, 239}, {128, 191}, {128, 191}}, inputMults: []int{256, 1}, outputMults: []int{4096, 64, 1}, }, }, { { inputRange: rangeBounds{{216, 216}, {0, 191}, {220, 223}, {0, 255}}, outputRange: rangeBounds{{240, 240}, {144, 191}, {128, 191}, {128, 191}}, inputMults: []int{196608, 1024, 256, 1}, outputMults: []int{196608, 4096, 64, 1}, }, { inputRange: rangeBounds{{216, 216}, {192, 255}, {220, 223}, {0, 255}}, outputRange: rangeBounds{{241, 241}, {128, 143}, {128, 191}, {128, 191}}, inputMults: []int{65536, 1024, 256, 1}, outputMults: []int{65536, 4096, 64, 1}, }, { inputRange: rangeBounds{{217, 217}, {0, 191}, {220, 223}, {0, 255}}, outputRange: rangeBounds{{241, 241}, {144, 191}, {128, 191}, {128, 191}}, inputMults: []int{196608, 1024, 256, 1}, outputMults: []int{196608, 4096, 64, 1}, }, { inputRange: rangeBounds{{217, 217}, {192, 255}, {220, 223}, {0, 255}}, outputRange: rangeBounds{{242, 242}, {128, 143}, {128, 191}, {128, 191}}, inputMults: []int{65536, 1024, 256, 1}, outputMults: []int{65536, 4096, 64, 1}, }, { inputRange: rangeBounds{{218, 218}, {0, 191}, {220, 223}, {0, 255}}, outputRange: rangeBounds{{242, 242}, {144, 191}, {128, 191}, {128, 191}}, inputMults: []int{196608, 1024, 256, 1}, outputMults: []int{196608, 4096, 64, 1}, }, { inputRange: rangeBounds{{218, 218}, {192, 255}, {220, 223}, {0, 255}}, outputRange: rangeBounds{{243, 243}, {128, 143}, {128, 191}, {128, 191}}, inputMults: []int{65536, 1024, 256, 1}, outputMults: []int{65536, 4096, 64, 1}, }, { inputRange: rangeBounds{{219, 219}, {0, 191}, {220, 223}, {0, 255}}, outputRange: rangeBounds{{243, 243}, {144, 191}, {128, 191}, {128, 191}}, inputMults: []int{196608, 1024, 256, 1}, outputMults: []int{196608, 4096, 64, 1}, }, { inputRange: rangeBounds{{219, 219}, {192, 255}, {220, 223}, {0, 255}}, outputRange: rangeBounds{{244, 244}, {128, 143}, {128, 191}, {128, 191}}, inputMults: []int{65536, 1024, 256, 1}, outputMults: []int{65536, 4096, 64, 1}, }, }, }, toUpper: map[rune]rune{ 97: 65, 98: 66, 99: 67, 100: 68, 101: 69, 102: 70, 103: 71, 104: 72, 105: 73, 106: 74, 107: 75, 108: 76, 109: 77, 110: 78, 111: 79, 112: 80, 113: 81, 114: 82, 115: 83, 116: 84, 117: 85, 118: 86, 119: 87, 120: 88, 121: 89, 122: 90, 181: 924, 224: 192, 225: 193, 226: 194, 227: 195, 228: 196, 229: 197, 230: 198, 231: 199, 232: 200, 233: 201, 234: 202, 235: 203, 236: 204, 237: 205, 238: 206, 239: 207, 240: 208, 241: 209, 242: 210, 243: 211, 244: 212, 245: 213, 246: 214, 248: 216, 249: 217, 250: 218, 251: 219, 252: 220, 253: 221, 254: 222, 255: 376, 257: 256, 259: 258, 261: 260, 263: 262, 265: 264, 267: 266, 269: 268, 271: 270, 273: 272, 275: 274, 277: 276, 279: 278, 281: 280, 283: 282, 285: 284, 287: 286, 289: 288, 291: 290, 293: 292, 295: 294, 297: 296, 299: 298, 301: 300, 303: 302, 305: 73, 307: 306, 309: 308, 311: 310, 314: 313, 316: 315, 318: 317, 320: 319, 322: 321, 324: 323, 326: 325, 328: 327, 331: 330, 333: 332, 335: 334, 337: 336, 339: 338, 341: 340, 343: 342, 345: 344, 347: 346, 349: 348, 351: 350, 353: 352, 355: 354, 357: 356, 359: 358, 361: 360, 363: 362, 365: 364, 367: 366, 369: 368, 371: 370, 373: 372, 375: 374, 378: 377, 380: 379, 382: 381, 383: 83, 387: 386, 389: 388, 392: 391, 396: 395, 402: 401, 405: 502, 409: 408, 417: 416, 419: 418, 421: 420, 424: 423, 429: 428, 432: 431, 436: 435, 438: 437, 441: 440, 445: 444, 447: 503, 453: 452, 454: 452, 456: 455, 457: 455, 459: 458, 460: 458, 462: 461, 464: 463, 466: 465, 468: 467, 470: 469, 472: 471, 474: 473, 476: 475, 477: 398, 479: 478, 481: 480, 483: 482, 485: 484, 487: 486, 489: 488, 491: 490, 493: 492, 495: 494, 498: 497, 499: 497, 501: 500, 505: 504, 507: 506, 509: 508, 511: 510, 513: 512, 515: 514, 517: 516, 519: 518, 521: 520, 523: 522, 525: 524, 527: 526, 529: 528, 531: 530, 533: 532, 535: 534, 537: 536, 539: 538, 541: 540, 543: 542, 547: 546, 549: 548, 551: 550, 553: 552, 555: 554, 557: 556, 559: 558, 561: 560, 563: 562, 595: 385, 596: 390, 598: 393, 599: 394, 601: 399, 603: 400, 608: 403, 611: 404, 616: 407, 617: 406, 623: 412, 626: 413, 629: 415, 640: 422, 643: 425, 648: 430, 650: 433, 651: 434, 658: 439, 837: 921, 940: 902, 941: 904, 942: 905, 943: 906, 945: 913, 946: 914, 947: 915, 948: 916, 949: 917, 950: 918, 951: 919, 952: 920, 953: 921, 954: 922, 955: 923, 956: 924, 957: 925, 958: 926, 959: 927, 960: 928, 961: 929, 962: 931, 963: 931, 964: 932, 965: 933, 966: 934, 967: 935, 968: 936, 969: 937, 970: 938, 971: 939, 972: 908, 973: 910, 974: 911, 976: 914, 977: 920, 981: 934, 982: 928, 987: 986, 989: 988, 991: 990, 993: 992, 995: 994, 997: 996, 999: 998, 1001: 1000, 1003: 1002, 1005: 1004, 1007: 1006, 1008: 922, 1009: 929, 1010: 931, 1072: 1040, 1073: 1041, 1074: 1042, 1075: 1043, 1076: 1044, 1077: 1045, 1078: 1046, 1079: 1047, 1080: 1048, 1081: 1049, 1082: 1050, 1083: 1051, 1084: 1052, 1085: 1053, 1086: 1054, 1087: 1055, 1088: 1056, 1089: 1057, 1090: 1058, 1091: 1059, 1092: 1060, 1093: 1061, 1094: 1062, 1095: 1063, 1096: 1064, 1097: 1065, 1098: 1066, 1099: 1067, 1100: 1068, 1101: 1069, 1102: 1070, 1103: 1071, 1104: 1024, 1105: 1025, 1106: 1026, 1107: 1027, 1108: 1028, 1109: 1029, 1110: 1030, 1111: 1031, 1112: 1032, 1113: 1033, 1114: 1034, 1115: 1035, 1116: 1036, 1117: 1037, 1118: 1038, 1119: 1039, 1121: 1120, 1123: 1122, 1125: 1124, 1127: 1126, 1129: 1128, 1131: 1130, 1133: 1132, 1135: 1134, 1137: 1136, 1139: 1138, 1141: 1140, 1143: 1142, 1145: 1144, 1147: 1146, 1149: 1148, 1151: 1150, 1153: 1152, 1165: 1164, 1167: 1166, 1169: 1168, 1171: 1170, 1173: 1172, 1175: 1174, 1177: 1176, 1179: 1178, 1181: 1180, 1183: 1182, 1185: 1184, 1187: 1186, 1189: 1188, 1191: 1190, 1193: 1192, 1195: 1194, 1197: 1196, 1199: 1198, 1201: 1200, 1203: 1202, 1205: 1204, 1207: 1206, 1209: 1208, 1211: 1210, 1213: 1212, 1215: 1214, 1218: 1217, 1220: 1219, 1224: 1223, 1228: 1227, 1233: 1232, 1235: 1234, 1237: 1236, 1239: 1238, 1241: 1240, 1243: 1242, 1245: 1244, 1247: 1246, 1249: 1248, 1251: 1250, 1253: 1252, 1255: 1254, 1257: 1256, 1259: 1258, 1261: 1260, 1263: 1262, 1265: 1264, 1267: 1266, 1269: 1268, 1273: 1272, 1377: 1329, 1378: 1330, 1379: 1331, 1380: 1332, 1381: 1333, 1382: 1334, 1383: 1335, 1384: 1336, 1385: 1337, 1386: 1338, 1387: 1339, 1388: 1340, 1389: 1341, 1390: 1342, 1391: 1343, 1392: 1344, 1393: 1345, 1394: 1346, 1395: 1347, 1396: 1348, 1397: 1349, 1398: 1350, 1399: 1351, 1400: 1352, 1401: 1353, 1402: 1354, 1403: 1355, 1404: 1356, 1405: 1357, 1406: 1358, 1407: 1359, 1408: 1360, 1409: 1361, 1410: 1362, 1411: 1363, 1412: 1364, 1413: 1365, 1414: 1366, 7681: 7680, 7683: 7682, 7685: 7684, 7687: 7686, 7689: 7688, 7691: 7690, 7693: 7692, 7695: 7694, 7697: 7696, 7699: 7698, 7701: 7700, 7703: 7702, 7705: 7704, 7707: 7706, 7709: 7708, 7711: 7710, 7713: 7712, 7715: 7714, 7717: 7716, 7719: 7718, 7721: 7720, 7723: 7722, 7725: 7724, 7727: 7726, 7729: 7728, 7731: 7730, 7733: 7732, 7735: 7734, 7737: 7736, 7739: 7738, 7741: 7740, 7743: 7742, 7745: 7744, 7747: 7746, 7749: 7748, 7751: 7750, 7753: 7752, 7755: 7754, 7757: 7756, 7759: 7758, 7761: 7760, 7763: 7762, 7765: 7764, 7767: 7766, 7769: 7768, 7771: 7770, 7773: 7772, 7775: 7774, 7777: 7776, 7779: 7778, 7781: 7780, 7783: 7782, 7785: 7784, 7787: 7786, 7789: 7788, 7791: 7790, 7793: 7792, 7795: 7794, 7797: 7796, 7799: 7798, 7801: 7800, 7803: 7802, 7805: 7804, 7807: 7806, 7809: 7808, 7811: 7810, 7813: 7812, 7815: 7814, 7817: 7816, 7819: 7818, 7821: 7820, 7823: 7822, 7825: 7824, 7827: 7826, 7829: 7828, 7835: 7776, 7841: 7840, 7843: 7842, 7845: 7844, 7847: 7846, 7849: 7848, 7851: 7850, 7853: 7852, 7855: 7854, 7857: 7856, 7859: 7858, 7861: 7860, 7863: 7862, 7865: 7864, 7867: 7866, 7869: 7868, 7871: 7870, 7873: 7872, 7875: 7874, 7877: 7876, 7879: 7878, 7881: 7880, 7883: 7882, 7885: 7884, 7887: 7886, 7889: 7888, 7891: 7890, 7893: 7892, 7895: 7894, 7897: 7896, 7899: 7898, 7901: 7900, 7903: 7902, 7905: 7904, 7907: 7906, 7909: 7908, 7911: 7910, 7913: 7912, 7915: 7914, 7917: 7916, 7919: 7918, 7921: 7920, 7923: 7922, 7925: 7924, 7927: 7926, 7929: 7928, 7936: 7944, 7937: 7945, 7938: 7946, 7939: 7947, 7940: 7948, 7941: 7949, 7942: 7950, 7943: 7951, 7952: 7960, 7953: 7961, 7954: 7962, 7955: 7963, 7956: 7964, 7957: 7965, 7968: 7976, 7969: 7977, 7970: 7978, 7971: 7979, 7972: 7980, 7973: 7981, 7974: 7982, 7975: 7983, 7984: 7992, 7985: 7993, 7986: 7994, 7987: 7995, 7988: 7996, 7989: 7997, 7990: 7998, 7991: 7999, 8000: 8008, 8001: 8009, 8002: 8010, 8003: 8011, 8004: 8012, 8005: 8013, 8017: 8025, 8019: 8027, 8021: 8029, 8023: 8031, 8032: 8040, 8033: 8041, 8034: 8042, 8035: 8043, 8036: 8044, 8037: 8045, 8038: 8046, 8039: 8047, 8048: 8122, 8049: 8123, 8050: 8136, 8051: 8137, 8052: 8138, 8053: 8139, 8054: 8154, 8055: 8155, 8056: 8184, 8057: 8185, 8058: 8170, 8059: 8171, 8060: 8186, 8061: 8187, 8064: 8072, 8065: 8073, 8066: 8074, 8067: 8075, 8068: 8076, 8069: 8077, 8070: 8078, 8071: 8079, 8080: 8088, 8081: 8089, 8082: 8090, 8083: 8091, 8084: 8092, 8085: 8093, 8086: 8094, 8087: 8095, 8096: 8104, 8097: 8105, 8098: 8106, 8099: 8107, 8100: 8108, 8101: 8109, 8102: 8110, 8103: 8111, 8112: 8120, 8113: 8121, 8115: 8124, 8126: 921, 8131: 8140, 8144: 8152, 8145: 8153, 8160: 8168, 8161: 8169, 8165: 8172, 8179: 8188, 8560: 8544, 8561: 8545, 8562: 8546, 8563: 8547, 8564: 8548, 8565: 8549, 8566: 8550, 8567: 8551, 8568: 8552, 8569: 8553, 8570: 8554, 8571: 8555, 8572: 8556, 8573: 8557, 8574: 8558, 8575: 8559, 9424: 9398, 9425: 9399, 9426: 9400, 9427: 9401, 9428: 9402, 9429: 9403, 9430: 9404, 9431: 9405, 9432: 9406, 9433: 9407, 9434: 9408, 9435: 9409, 9436: 9410, 9437: 9411, 9438: 9412, 9439: 9413, 9440: 9414, 9441: 9415, 9442: 9416, 9443: 9417, 9444: 9418, 9445: 9419, 9446: 9420, 9447: 9421, 9448: 9422, 9449: 9423, 65345: 65313, 65346: 65314, 65347: 65315, 65348: 65316, 65349: 65317, 65350: 65318, 65351: 65319, 65352: 65320, 65353: 65321, 65354: 65322, 65355: 65323, 65356: 65324, 65357: 65325, 65358: 65326, 65359: 65327, 65360: 65328, 65361: 65329, 65362: 65330, 65363: 65331, 65364: 65332, 65365: 65333, 65366: 65334, 65367: 65335, 65368: 65336, 65369: 65337, 65370: 65338, }, toLower: map[rune]rune{ 65: 97, 66: 98, 67: 99, 68: 100, 69: 101, 70: 102, 71: 103, 72: 104, 73: 105, 74: 106, 75: 107, 76: 108, 77: 109, 78: 110, 79: 111, 80: 112, 81: 113, 82: 114, 83: 115, 84: 116, 85: 117, 86: 118, 87: 119, 88: 120, 89: 121, 90: 122, 192: 224, 193: 225, 194: 226, 195: 227, 196: 228, 197: 229, 198: 230, 199: 231, 200: 232, 201: 233, 202: 234, 203: 235, 204: 236, 205: 237, 206: 238, 207: 239, 208: 240, 209: 241, 210: 242, 211: 243, 212: 244, 213: 245, 214: 246, 216: 248, 217: 249, 218: 250, 219: 251, 220: 252, 221: 253, 222: 254, 256: 257, 258: 259, 260: 261, 262: 263, 264: 265, 266: 267, 268: 269, 270: 271, 272: 273, 274: 275, 276: 277, 278: 279, 280: 281, 282: 283, 284: 285, 286: 287, 288: 289, 290: 291, 292: 293, 294: 295, 296: 297, 298: 299, 300: 301, 302: 303, 304: 105, 306: 307, 308: 309, 310: 311, 313: 314, 315: 316, 317: 318, 319: 320, 321: 322, 323: 324, 325: 326, 327: 328, 330: 331, 332: 333, 334: 335, 336: 337, 338: 339, 340: 341, 342: 343, 344: 345, 346: 347, 348: 349, 350: 351, 352: 353, 354: 355, 356: 357, 358: 359, 360: 361, 362: 363, 364: 365, 366: 367, 368: 369, 370: 371, 372: 373, 374: 375, 376: 255, 377: 378, 379: 380, 381: 382, 385: 595, 386: 387, 388: 389, 390: 596, 391: 392, 393: 598, 394: 599, 395: 396, 398: 477, 399: 601, 400: 603, 401: 402, 403: 608, 404: 611, 406: 617, 407: 616, 408: 409, 412: 623, 413: 626, 415: 629, 416: 417, 418: 419, 420: 421, 422: 640, 423: 424, 425: 643, 428: 429, 430: 648, 431: 432, 433: 650, 434: 651, 435: 436, 437: 438, 439: 658, 440: 441, 444: 445, 452: 454, 453: 454, 455: 457, 456: 457, 458: 460, 459: 460, 461: 462, 463: 464, 465: 466, 467: 468, 469: 470, 471: 472, 473: 474, 475: 476, 478: 479, 480: 481, 482: 483, 484: 485, 486: 487, 488: 489, 490: 491, 492: 493, 494: 495, 497: 499, 498: 499, 500: 501, 502: 405, 503: 447, 504: 505, 506: 507, 508: 509, 510: 511, 512: 513, 514: 515, 516: 517, 518: 519, 520: 521, 522: 523, 524: 525, 526: 527, 528: 529, 530: 531, 532: 533, 534: 535, 536: 537, 538: 539, 540: 541, 542: 543, 546: 547, 548: 549, 550: 551, 552: 553, 554: 555, 556: 557, 558: 559, 560: 561, 562: 563, 902: 940, 904: 941, 905: 942, 906: 943, 908: 972, 910: 973, 911: 974, 913: 945, 914: 946, 915: 947, 916: 948, 917: 949, 918: 950, 919: 951, 920: 952, 921: 953, 922: 954, 923: 955, 924: 956, 925: 957, 926: 958, 927: 959, 928: 960, 929: 961, 931: 963, 932: 964, 933: 965, 934: 966, 935: 967, 936: 968, 937: 969, 938: 970, 939: 971, 986: 987, 988: 989, 990: 991, 992: 993, 994: 995, 996: 997, 998: 999, 1000: 1001, 1002: 1003, 1004: 1005, 1006: 1007, 1024: 1104, 1025: 1105, 1026: 1106, 1027: 1107, 1028: 1108, 1029: 1109, 1030: 1110, 1031: 1111, 1032: 1112, 1033: 1113, 1034: 1114, 1035: 1115, 1036: 1116, 1037: 1117, 1038: 1118, 1039: 1119, 1040: 1072, 1041: 1073, 1042: 1074, 1043: 1075, 1044: 1076, 1045: 1077, 1046: 1078, 1047: 1079, 1048: 1080, 1049: 1081, 1050: 1082, 1051: 1083, 1052: 1084, 1053: 1085, 1054: 1086, 1055: 1087, 1056: 1088, 1057: 1089, 1058: 1090, 1059: 1091, 1060: 1092, 1061: 1093, 1062: 1094, 1063: 1095, 1064: 1096, 1065: 1097, 1066: 1098, 1067: 1099, 1068: 1100, 1069: 1101, 1070: 1102, 1071: 1103, 1120: 1121, 1122: 1123, 1124: 1125, 1126: 1127, 1128: 1129, 1130: 1131, 1132: 1133, 1134: 1135, 1136: 1137, 1138: 1139, 1140: 1141, 1142: 1143, 1144: 1145, 1146: 1147, 1148: 1149, 1150: 1151, 1152: 1153, 1164: 1165, 1166: 1167, 1168: 1169, 1170: 1171, 1172: 1173, 1174: 1175, 1176: 1177, 1178: 1179, 1180: 1181, 1182: 1183, 1184: 1185, 1186: 1187, 1188: 1189, 1190: 1191, 1192: 1193, 1194: 1195, 1196: 1197, 1198: 1199, 1200: 1201, 1202: 1203, 1204: 1205, 1206: 1207, 1208: 1209, 1210: 1211, 1212: 1213, 1214: 1215, 1217: 1218, 1219: 1220, 1223: 1224, 1227: 1228, 1232: 1233, 1234: 1235, 1236: 1237, 1238: 1239, 1240: 1241, 1242: 1243, 1244: 1245, 1246: 1247, 1248: 1249, 1250: 1251, 1252: 1253, 1254: 1255, 1256: 1257, 1258: 1259, 1260: 1261, 1262: 1263, 1264: 1265, 1266: 1267, 1268: 1269, 1272: 1273, 1329: 1377, 1330: 1378, 1331: 1379, 1332: 1380, 1333: 1381, 1334: 1382, 1335: 1383, 1336: 1384, 1337: 1385, 1338: 1386, 1339: 1387, 1340: 1388, 1341: 1389, 1342: 1390, 1343: 1391, 1344: 1392, 1345: 1393, 1346: 1394, 1347: 1395, 1348: 1396, 1349: 1397, 1350: 1398, 1351: 1399, 1352: 1400, 1353: 1401, 1354: 1402, 1355: 1403, 1356: 1404, 1357: 1405, 1358: 1406, 1359: 1407, 1360: 1408, 1361: 1409, 1362: 1410, 1363: 1411, 1364: 1412, 1365: 1413, 1366: 1414, 7680: 7681, 7682: 7683, 7684: 7685, 7686: 7687, 7688: 7689, 7690: 7691, 7692: 7693, 7694: 7695, 7696: 7697, 7698: 7699, 7700: 7701, 7702: 7703, 7704: 7705, 7706: 7707, 7708: 7709, 7710: 7711, 7712: 7713, 7714: 7715, 7716: 7717, 7718: 7719, 7720: 7721, 7722: 7723, 7724: 7725, 7726: 7727, 7728: 7729, 7730: 7731, 7732: 7733, 7734: 7735, 7736: 7737, 7738: 7739, 7740: 7741, 7742: 7743, 7744: 7745, 7746: 7747, 7748: 7749, 7750: 7751, 7752: 7753, 7754: 7755, 7756: 7757, 7758: 7759, 7760: 7761, 7762: 7763, 7764: 7765, 7766: 7767, 7768: 7769, 7770: 7771, 7772: 7773, 7774: 7775, 7776: 7777, 7778: 7779, 7780: 7781, 7782: 7783, 7784: 7785, 7786: 7787, 7788: 7789, 7790: 7791, 7792: 7793, 7794: 7795, 7796: 7797, 7798: 7799, 7800: 7801, 7802: 7803, 7804: 7805, 7806: 7807, 7808: 7809, 7810: 7811, 7812: 7813, 7814: 7815, 7816: 7817, 7818: 7819, 7820: 7821, 7822: 7823, 7824: 7825, 7826: 7827, 7828: 7829, 7840: 7841, 7842: 7843, 7844: 7845, 7846: 7847, 7848: 7849, 7850: 7851, 7852: 7853, 7854: 7855, 7856: 7857, 7858: 7859, 7860: 7861, 7862: 7863, 7864: 7865, 7866: 7867, 7868: 7869, 7870: 7871, 7872: 7873, 7874: 7875, 7876: 7877, 7878: 7879, 7880: 7881, 7882: 7883, 7884: 7885, 7886: 7887, 7888: 7889, 7890: 7891, 7892: 7893, 7894: 7895, 7896: 7897, 7898: 7899, 7900: 7901, 7902: 7903, 7904: 7905, 7906: 7907, 7908: 7909, 7910: 7911, 7912: 7913, 7914: 7915, 7916: 7917, 7918: 7919, 7920: 7921, 7922: 7923, 7924: 7925, 7926: 7927, 7928: 7929, 7944: 7936, 7945: 7937, 7946: 7938, 7947: 7939, 7948: 7940, 7949: 7941, 7950: 7942, 7951: 7943, 7960: 7952, 7961: 7953, 7962: 7954, 7963: 7955, 7964: 7956, 7965: 7957, 7976: 7968, 7977: 7969, 7978: 7970, 7979: 7971, 7980: 7972, 7981: 7973, 7982: 7974, 7983: 7975, 7992: 7984, 7993: 7985, 7994: 7986, 7995: 7987, 7996: 7988, 7997: 7989, 7998: 7990, 7999: 7991, 8008: 8000, 8009: 8001, 8010: 8002, 8011: 8003, 8012: 8004, 8013: 8005, 8025: 8017, 8027: 8019, 8029: 8021, 8031: 8023, 8040: 8032, 8041: 8033, 8042: 8034, 8043: 8035, 8044: 8036, 8045: 8037, 8046: 8038, 8047: 8039, 8072: 8064, 8073: 8065, 8074: 8066, 8075: 8067, 8076: 8068, 8077: 8069, 8078: 8070, 8079: 8071, 8088: 8080, 8089: 8081, 8090: 8082, 8091: 8083, 8092: 8084, 8093: 8085, 8094: 8086, 8095: 8087, 8104: 8096, 8105: 8097, 8106: 8098, 8107: 8099, 8108: 8100, 8109: 8101, 8110: 8102, 8111: 8103, 8120: 8112, 8121: 8113, 8122: 8048, 8123: 8049, 8124: 8115, 8136: 8050, 8137: 8051, 8138: 8052, 8139: 8053, 8140: 8131, 8152: 8144, 8153: 8145, 8154: 8054, 8155: 8055, 8168: 8160, 8169: 8161, 8170: 8058, 8171: 8059, 8172: 8165, 8184: 8056, 8185: 8057, 8186: 8060, 8187: 8061, 8188: 8179, 8486: 969, 8490: 107, 8491: 229, 8544: 8560, 8545: 8561, 8546: 8562, 8547: 8563, 8548: 8564, 8549: 8565, 8550: 8566, 8551: 8567, 8552: 8568, 8553: 8569, 8554: 8570, 8555: 8571, 8556: 8572, 8557: 8573, 8558: 8574, 8559: 8575, 9398: 9424, 9399: 9425, 9400: 9426, 9401: 9427, 9402: 9428, 9403: 9429, 9404: 9430, 9405: 9431, 9406: 9432, 9407: 9433, 9408: 9434, 9409: 9435, 9410: 9436, 9411: 9437, 9412: 9438, 9413: 9439, 9414: 9440, 9415: 9441, 9416: 9442, 9417: 9443, 9418: 9444, 9419: 9445, 9420: 9446, 9421: 9447, 9422: 9448, 9423: 9449, 65313: 65345, 65314: 65346, 65315: 65347, 65316: 65348, 65317: 65349, 65318: 65350, 65319: 65351, 65320: 65352, 65321: 65353, 65322: 65354, 65323: 65355, 65324: 65356, 65325: 65357, 65326: 65358, 65327: 65359, 65328: 65360, 65329: 65361, 65330: 65362, 65331: 65363, 65332: 65364, 65333: 65365, 65334: 65366, 65335: 65367, 65336: 65368, 65337: 65369, 65338: 65370, }, }
Utf16 represents the `utf16` character set encoding.
var Utf32 Encoder = &RangeMap{ inputEntries: [][]rangeMapEntry{ nil, nil, nil, { { inputRange: rangeBounds{{0, 0}, {0, 0}, {0, 0}, {0, 127}}, outputRange: rangeBounds{{0, 127}}, inputMults: []int{128, 128, 128, 1}, outputMults: []int{1}, }, { inputRange: rangeBounds{{0, 0}, {0, 0}, {0, 0}, {128, 255}}, outputRange: rangeBounds{{194, 195}, {128, 191}}, inputMults: []int{128, 128, 128, 1}, outputMults: []int{64, 1}, }, { inputRange: rangeBounds{{0, 0}, {0, 0}, {1, 7}, {0, 255}}, outputRange: rangeBounds{{196, 223}, {128, 191}}, inputMults: []int{1792, 1792, 256, 1}, outputMults: []int{64, 1}, }, { inputRange: rangeBounds{{0, 0}, {0, 0}, {8, 15}, {0, 255}}, outputRange: rangeBounds{{224, 224}, {160, 191}, {128, 191}}, inputMults: []int{2048, 2048, 256, 1}, outputMults: []int{2048, 64, 1}, }, { inputRange: rangeBounds{{0, 0}, {0, 0}, {16, 215}, {0, 255}}, outputRange: rangeBounds{{225, 237}, {128, 191}, {128, 191}}, inputMults: []int{51200, 51200, 256, 1}, outputMults: []int{4096, 64, 1}, }, { inputRange: rangeBounds{{0, 0}, {0, 0}, {224, 255}, {0, 255}}, outputRange: rangeBounds{{238, 239}, {128, 191}, {128, 191}}, inputMults: []int{8192, 8192, 256, 1}, outputMults: []int{4096, 64, 1}, }, { inputRange: rangeBounds{{0, 0}, {1, 3}, {0, 255}, {0, 255}}, outputRange: rangeBounds{{240, 240}, {144, 191}, {128, 191}, {128, 191}}, inputMults: []int{196608, 65536, 256, 1}, outputMults: []int{196608, 4096, 64, 1}, }, { inputRange: rangeBounds{{0, 0}, {4, 16}, {0, 255}, {0, 255}}, outputRange: rangeBounds{{241, 244}, {128, 191}, {128, 191}, {128, 191}}, inputMults: []int{851968, 65536, 256, 1}, outputMults: []int{262144, 4096, 64, 1}, }, }, }, outputEntries: [][]rangeMapEntry{ { { inputRange: rangeBounds{{0, 0}, {0, 0}, {0, 0}, {0, 127}}, outputRange: rangeBounds{{0, 127}}, inputMults: []int{128, 128, 128, 1}, outputMults: []int{1}, }, }, { { inputRange: rangeBounds{{0, 0}, {0, 0}, {0, 0}, {128, 255}}, outputRange: rangeBounds{{194, 195}, {128, 191}}, inputMults: []int{128, 128, 128, 1}, outputMults: []int{64, 1}, }, { inputRange: rangeBounds{{0, 0}, {0, 0}, {1, 7}, {0, 255}}, outputRange: rangeBounds{{196, 223}, {128, 191}}, inputMults: []int{1792, 1792, 256, 1}, outputMults: []int{64, 1}, }, }, { { inputRange: rangeBounds{{0, 0}, {0, 0}, {8, 15}, {0, 255}}, outputRange: rangeBounds{{224, 224}, {160, 191}, {128, 191}}, inputMults: []int{2048, 2048, 256, 1}, outputMults: []int{2048, 64, 1}, }, { inputRange: rangeBounds{{0, 0}, {0, 0}, {16, 215}, {0, 255}}, outputRange: rangeBounds{{225, 237}, {128, 191}, {128, 191}}, inputMults: []int{51200, 51200, 256, 1}, outputMults: []int{4096, 64, 1}, }, { inputRange: rangeBounds{{0, 0}, {0, 0}, {224, 255}, {0, 255}}, outputRange: rangeBounds{{238, 239}, {128, 191}, {128, 191}}, inputMults: []int{8192, 8192, 256, 1}, outputMults: []int{4096, 64, 1}, }, }, { { inputRange: rangeBounds{{0, 0}, {1, 3}, {0, 255}, {0, 255}}, outputRange: rangeBounds{{240, 240}, {144, 191}, {128, 191}, {128, 191}}, inputMults: []int{196608, 65536, 256, 1}, outputMults: []int{196608, 4096, 64, 1}, }, { inputRange: rangeBounds{{0, 0}, {4, 16}, {0, 255}, {0, 255}}, outputRange: rangeBounds{{241, 244}, {128, 191}, {128, 191}, {128, 191}}, inputMults: []int{851968, 65536, 256, 1}, outputMults: []int{262144, 4096, 64, 1}, }, }, }, toUpper: map[rune]rune{ 97: 65, 98: 66, 99: 67, 100: 68, 101: 69, 102: 70, 103: 71, 104: 72, 105: 73, 106: 74, 107: 75, 108: 76, 109: 77, 110: 78, 111: 79, 112: 80, 113: 81, 114: 82, 115: 83, 116: 84, 117: 85, 118: 86, 119: 87, 120: 88, 121: 89, 122: 90, 181: 924, 224: 192, 225: 193, 226: 194, 227: 195, 228: 196, 229: 197, 230: 198, 231: 199, 232: 200, 233: 201, 234: 202, 235: 203, 236: 204, 237: 205, 238: 206, 239: 207, 240: 208, 241: 209, 242: 210, 243: 211, 244: 212, 245: 213, 246: 214, 248: 216, 249: 217, 250: 218, 251: 219, 252: 220, 253: 221, 254: 222, 255: 376, 257: 256, 259: 258, 261: 260, 263: 262, 265: 264, 267: 266, 269: 268, 271: 270, 273: 272, 275: 274, 277: 276, 279: 278, 281: 280, 283: 282, 285: 284, 287: 286, 289: 288, 291: 290, 293: 292, 295: 294, 297: 296, 299: 298, 301: 300, 303: 302, 305: 73, 307: 306, 309: 308, 311: 310, 314: 313, 316: 315, 318: 317, 320: 319, 322: 321, 324: 323, 326: 325, 328: 327, 331: 330, 333: 332, 335: 334, 337: 336, 339: 338, 341: 340, 343: 342, 345: 344, 347: 346, 349: 348, 351: 350, 353: 352, 355: 354, 357: 356, 359: 358, 361: 360, 363: 362, 365: 364, 367: 366, 369: 368, 371: 370, 373: 372, 375: 374, 378: 377, 380: 379, 382: 381, 383: 83, 387: 386, 389: 388, 392: 391, 396: 395, 402: 401, 405: 502, 409: 408, 417: 416, 419: 418, 421: 420, 424: 423, 429: 428, 432: 431, 436: 435, 438: 437, 441: 440, 445: 444, 447: 503, 453: 452, 454: 452, 456: 455, 457: 455, 459: 458, 460: 458, 462: 461, 464: 463, 466: 465, 468: 467, 470: 469, 472: 471, 474: 473, 476: 475, 477: 398, 479: 478, 481: 480, 483: 482, 485: 484, 487: 486, 489: 488, 491: 490, 493: 492, 495: 494, 498: 497, 499: 497, 501: 500, 505: 504, 507: 506, 509: 508, 511: 510, 513: 512, 515: 514, 517: 516, 519: 518, 521: 520, 523: 522, 525: 524, 527: 526, 529: 528, 531: 530, 533: 532, 535: 534, 537: 536, 539: 538, 541: 540, 543: 542, 547: 546, 549: 548, 551: 550, 553: 552, 555: 554, 557: 556, 559: 558, 561: 560, 563: 562, 595: 385, 596: 390, 598: 393, 599: 394, 601: 399, 603: 400, 608: 403, 611: 404, 616: 407, 617: 406, 623: 412, 626: 413, 629: 415, 640: 422, 643: 425, 648: 430, 650: 433, 651: 434, 658: 439, 837: 921, 940: 902, 941: 904, 942: 905, 943: 906, 945: 913, 946: 914, 947: 915, 948: 916, 949: 917, 950: 918, 951: 919, 952: 920, 953: 921, 954: 922, 955: 923, 956: 924, 957: 925, 958: 926, 959: 927, 960: 928, 961: 929, 962: 931, 963: 931, 964: 932, 965: 933, 966: 934, 967: 935, 968: 936, 969: 937, 970: 938, 971: 939, 972: 908, 973: 910, 974: 911, 976: 914, 977: 920, 981: 934, 982: 928, 987: 986, 989: 988, 991: 990, 993: 992, 995: 994, 997: 996, 999: 998, 1001: 1000, 1003: 1002, 1005: 1004, 1007: 1006, 1008: 922, 1009: 929, 1010: 931, 1072: 1040, 1073: 1041, 1074: 1042, 1075: 1043, 1076: 1044, 1077: 1045, 1078: 1046, 1079: 1047, 1080: 1048, 1081: 1049, 1082: 1050, 1083: 1051, 1084: 1052, 1085: 1053, 1086: 1054, 1087: 1055, 1088: 1056, 1089: 1057, 1090: 1058, 1091: 1059, 1092: 1060, 1093: 1061, 1094: 1062, 1095: 1063, 1096: 1064, 1097: 1065, 1098: 1066, 1099: 1067, 1100: 1068, 1101: 1069, 1102: 1070, 1103: 1071, 1104: 1024, 1105: 1025, 1106: 1026, 1107: 1027, 1108: 1028, 1109: 1029, 1110: 1030, 1111: 1031, 1112: 1032, 1113: 1033, 1114: 1034, 1115: 1035, 1116: 1036, 1117: 1037, 1118: 1038, 1119: 1039, 1121: 1120, 1123: 1122, 1125: 1124, 1127: 1126, 1129: 1128, 1131: 1130, 1133: 1132, 1135: 1134, 1137: 1136, 1139: 1138, 1141: 1140, 1143: 1142, 1145: 1144, 1147: 1146, 1149: 1148, 1151: 1150, 1153: 1152, 1165: 1164, 1167: 1166, 1169: 1168, 1171: 1170, 1173: 1172, 1175: 1174, 1177: 1176, 1179: 1178, 1181: 1180, 1183: 1182, 1185: 1184, 1187: 1186, 1189: 1188, 1191: 1190, 1193: 1192, 1195: 1194, 1197: 1196, 1199: 1198, 1201: 1200, 1203: 1202, 1205: 1204, 1207: 1206, 1209: 1208, 1211: 1210, 1213: 1212, 1215: 1214, 1218: 1217, 1220: 1219, 1224: 1223, 1228: 1227, 1233: 1232, 1235: 1234, 1237: 1236, 1239: 1238, 1241: 1240, 1243: 1242, 1245: 1244, 1247: 1246, 1249: 1248, 1251: 1250, 1253: 1252, 1255: 1254, 1257: 1256, 1259: 1258, 1261: 1260, 1263: 1262, 1265: 1264, 1267: 1266, 1269: 1268, 1273: 1272, 1377: 1329, 1378: 1330, 1379: 1331, 1380: 1332, 1381: 1333, 1382: 1334, 1383: 1335, 1384: 1336, 1385: 1337, 1386: 1338, 1387: 1339, 1388: 1340, 1389: 1341, 1390: 1342, 1391: 1343, 1392: 1344, 1393: 1345, 1394: 1346, 1395: 1347, 1396: 1348, 1397: 1349, 1398: 1350, 1399: 1351, 1400: 1352, 1401: 1353, 1402: 1354, 1403: 1355, 1404: 1356, 1405: 1357, 1406: 1358, 1407: 1359, 1408: 1360, 1409: 1361, 1410: 1362, 1411: 1363, 1412: 1364, 1413: 1365, 1414: 1366, 7681: 7680, 7683: 7682, 7685: 7684, 7687: 7686, 7689: 7688, 7691: 7690, 7693: 7692, 7695: 7694, 7697: 7696, 7699: 7698, 7701: 7700, 7703: 7702, 7705: 7704, 7707: 7706, 7709: 7708, 7711: 7710, 7713: 7712, 7715: 7714, 7717: 7716, 7719: 7718, 7721: 7720, 7723: 7722, 7725: 7724, 7727: 7726, 7729: 7728, 7731: 7730, 7733: 7732, 7735: 7734, 7737: 7736, 7739: 7738, 7741: 7740, 7743: 7742, 7745: 7744, 7747: 7746, 7749: 7748, 7751: 7750, 7753: 7752, 7755: 7754, 7757: 7756, 7759: 7758, 7761: 7760, 7763: 7762, 7765: 7764, 7767: 7766, 7769: 7768, 7771: 7770, 7773: 7772, 7775: 7774, 7777: 7776, 7779: 7778, 7781: 7780, 7783: 7782, 7785: 7784, 7787: 7786, 7789: 7788, 7791: 7790, 7793: 7792, 7795: 7794, 7797: 7796, 7799: 7798, 7801: 7800, 7803: 7802, 7805: 7804, 7807: 7806, 7809: 7808, 7811: 7810, 7813: 7812, 7815: 7814, 7817: 7816, 7819: 7818, 7821: 7820, 7823: 7822, 7825: 7824, 7827: 7826, 7829: 7828, 7835: 7776, 7841: 7840, 7843: 7842, 7845: 7844, 7847: 7846, 7849: 7848, 7851: 7850, 7853: 7852, 7855: 7854, 7857: 7856, 7859: 7858, 7861: 7860, 7863: 7862, 7865: 7864, 7867: 7866, 7869: 7868, 7871: 7870, 7873: 7872, 7875: 7874, 7877: 7876, 7879: 7878, 7881: 7880, 7883: 7882, 7885: 7884, 7887: 7886, 7889: 7888, 7891: 7890, 7893: 7892, 7895: 7894, 7897: 7896, 7899: 7898, 7901: 7900, 7903: 7902, 7905: 7904, 7907: 7906, 7909: 7908, 7911: 7910, 7913: 7912, 7915: 7914, 7917: 7916, 7919: 7918, 7921: 7920, 7923: 7922, 7925: 7924, 7927: 7926, 7929: 7928, 7936: 7944, 7937: 7945, 7938: 7946, 7939: 7947, 7940: 7948, 7941: 7949, 7942: 7950, 7943: 7951, 7952: 7960, 7953: 7961, 7954: 7962, 7955: 7963, 7956: 7964, 7957: 7965, 7968: 7976, 7969: 7977, 7970: 7978, 7971: 7979, 7972: 7980, 7973: 7981, 7974: 7982, 7975: 7983, 7984: 7992, 7985: 7993, 7986: 7994, 7987: 7995, 7988: 7996, 7989: 7997, 7990: 7998, 7991: 7999, 8000: 8008, 8001: 8009, 8002: 8010, 8003: 8011, 8004: 8012, 8005: 8013, 8017: 8025, 8019: 8027, 8021: 8029, 8023: 8031, 8032: 8040, 8033: 8041, 8034: 8042, 8035: 8043, 8036: 8044, 8037: 8045, 8038: 8046, 8039: 8047, 8048: 8122, 8049: 8123, 8050: 8136, 8051: 8137, 8052: 8138, 8053: 8139, 8054: 8154, 8055: 8155, 8056: 8184, 8057: 8185, 8058: 8170, 8059: 8171, 8060: 8186, 8061: 8187, 8064: 8072, 8065: 8073, 8066: 8074, 8067: 8075, 8068: 8076, 8069: 8077, 8070: 8078, 8071: 8079, 8080: 8088, 8081: 8089, 8082: 8090, 8083: 8091, 8084: 8092, 8085: 8093, 8086: 8094, 8087: 8095, 8096: 8104, 8097: 8105, 8098: 8106, 8099: 8107, 8100: 8108, 8101: 8109, 8102: 8110, 8103: 8111, 8112: 8120, 8113: 8121, 8115: 8124, 8126: 921, 8131: 8140, 8144: 8152, 8145: 8153, 8160: 8168, 8161: 8169, 8165: 8172, 8179: 8188, 8560: 8544, 8561: 8545, 8562: 8546, 8563: 8547, 8564: 8548, 8565: 8549, 8566: 8550, 8567: 8551, 8568: 8552, 8569: 8553, 8570: 8554, 8571: 8555, 8572: 8556, 8573: 8557, 8574: 8558, 8575: 8559, 9424: 9398, 9425: 9399, 9426: 9400, 9427: 9401, 9428: 9402, 9429: 9403, 9430: 9404, 9431: 9405, 9432: 9406, 9433: 9407, 9434: 9408, 9435: 9409, 9436: 9410, 9437: 9411, 9438: 9412, 9439: 9413, 9440: 9414, 9441: 9415, 9442: 9416, 9443: 9417, 9444: 9418, 9445: 9419, 9446: 9420, 9447: 9421, 9448: 9422, 9449: 9423, 65345: 65313, 65346: 65314, 65347: 65315, 65348: 65316, 65349: 65317, 65350: 65318, 65351: 65319, 65352: 65320, 65353: 65321, 65354: 65322, 65355: 65323, 65356: 65324, 65357: 65325, 65358: 65326, 65359: 65327, 65360: 65328, 65361: 65329, 65362: 65330, 65363: 65331, 65364: 65332, 65365: 65333, 65366: 65334, 65367: 65335, 65368: 65336, 65369: 65337, 65370: 65338, }, toLower: map[rune]rune{ 65: 97, 66: 98, 67: 99, 68: 100, 69: 101, 70: 102, 71: 103, 72: 104, 73: 105, 74: 106, 75: 107, 76: 108, 77: 109, 78: 110, 79: 111, 80: 112, 81: 113, 82: 114, 83: 115, 84: 116, 85: 117, 86: 118, 87: 119, 88: 120, 89: 121, 90: 122, 192: 224, 193: 225, 194: 226, 195: 227, 196: 228, 197: 229, 198: 230, 199: 231, 200: 232, 201: 233, 202: 234, 203: 235, 204: 236, 205: 237, 206: 238, 207: 239, 208: 240, 209: 241, 210: 242, 211: 243, 212: 244, 213: 245, 214: 246, 216: 248, 217: 249, 218: 250, 219: 251, 220: 252, 221: 253, 222: 254, 256: 257, 258: 259, 260: 261, 262: 263, 264: 265, 266: 267, 268: 269, 270: 271, 272: 273, 274: 275, 276: 277, 278: 279, 280: 281, 282: 283, 284: 285, 286: 287, 288: 289, 290: 291, 292: 293, 294: 295, 296: 297, 298: 299, 300: 301, 302: 303, 304: 105, 306: 307, 308: 309, 310: 311, 313: 314, 315: 316, 317: 318, 319: 320, 321: 322, 323: 324, 325: 326, 327: 328, 330: 331, 332: 333, 334: 335, 336: 337, 338: 339, 340: 341, 342: 343, 344: 345, 346: 347, 348: 349, 350: 351, 352: 353, 354: 355, 356: 357, 358: 359, 360: 361, 362: 363, 364: 365, 366: 367, 368: 369, 370: 371, 372: 373, 374: 375, 376: 255, 377: 378, 379: 380, 381: 382, 385: 595, 386: 387, 388: 389, 390: 596, 391: 392, 393: 598, 394: 599, 395: 396, 398: 477, 399: 601, 400: 603, 401: 402, 403: 608, 404: 611, 406: 617, 407: 616, 408: 409, 412: 623, 413: 626, 415: 629, 416: 417, 418: 419, 420: 421, 422: 640, 423: 424, 425: 643, 428: 429, 430: 648, 431: 432, 433: 650, 434: 651, 435: 436, 437: 438, 439: 658, 440: 441, 444: 445, 452: 454, 453: 454, 455: 457, 456: 457, 458: 460, 459: 460, 461: 462, 463: 464, 465: 466, 467: 468, 469: 470, 471: 472, 473: 474, 475: 476, 478: 479, 480: 481, 482: 483, 484: 485, 486: 487, 488: 489, 490: 491, 492: 493, 494: 495, 497: 499, 498: 499, 500: 501, 502: 405, 503: 447, 504: 505, 506: 507, 508: 509, 510: 511, 512: 513, 514: 515, 516: 517, 518: 519, 520: 521, 522: 523, 524: 525, 526: 527, 528: 529, 530: 531, 532: 533, 534: 535, 536: 537, 538: 539, 540: 541, 542: 543, 546: 547, 548: 549, 550: 551, 552: 553, 554: 555, 556: 557, 558: 559, 560: 561, 562: 563, 902: 940, 904: 941, 905: 942, 906: 943, 908: 972, 910: 973, 911: 974, 913: 945, 914: 946, 915: 947, 916: 948, 917: 949, 918: 950, 919: 951, 920: 952, 921: 953, 922: 954, 923: 955, 924: 956, 925: 957, 926: 958, 927: 959, 928: 960, 929: 961, 931: 963, 932: 964, 933: 965, 934: 966, 935: 967, 936: 968, 937: 969, 938: 970, 939: 971, 986: 987, 988: 989, 990: 991, 992: 993, 994: 995, 996: 997, 998: 999, 1000: 1001, 1002: 1003, 1004: 1005, 1006: 1007, 1024: 1104, 1025: 1105, 1026: 1106, 1027: 1107, 1028: 1108, 1029: 1109, 1030: 1110, 1031: 1111, 1032: 1112, 1033: 1113, 1034: 1114, 1035: 1115, 1036: 1116, 1037: 1117, 1038: 1118, 1039: 1119, 1040: 1072, 1041: 1073, 1042: 1074, 1043: 1075, 1044: 1076, 1045: 1077, 1046: 1078, 1047: 1079, 1048: 1080, 1049: 1081, 1050: 1082, 1051: 1083, 1052: 1084, 1053: 1085, 1054: 1086, 1055: 1087, 1056: 1088, 1057: 1089, 1058: 1090, 1059: 1091, 1060: 1092, 1061: 1093, 1062: 1094, 1063: 1095, 1064: 1096, 1065: 1097, 1066: 1098, 1067: 1099, 1068: 1100, 1069: 1101, 1070: 1102, 1071: 1103, 1120: 1121, 1122: 1123, 1124: 1125, 1126: 1127, 1128: 1129, 1130: 1131, 1132: 1133, 1134: 1135, 1136: 1137, 1138: 1139, 1140: 1141, 1142: 1143, 1144: 1145, 1146: 1147, 1148: 1149, 1150: 1151, 1152: 1153, 1164: 1165, 1166: 1167, 1168: 1169, 1170: 1171, 1172: 1173, 1174: 1175, 1176: 1177, 1178: 1179, 1180: 1181, 1182: 1183, 1184: 1185, 1186: 1187, 1188: 1189, 1190: 1191, 1192: 1193, 1194: 1195, 1196: 1197, 1198: 1199, 1200: 1201, 1202: 1203, 1204: 1205, 1206: 1207, 1208: 1209, 1210: 1211, 1212: 1213, 1214: 1215, 1217: 1218, 1219: 1220, 1223: 1224, 1227: 1228, 1232: 1233, 1234: 1235, 1236: 1237, 1238: 1239, 1240: 1241, 1242: 1243, 1244: 1245, 1246: 1247, 1248: 1249, 1250: 1251, 1252: 1253, 1254: 1255, 1256: 1257, 1258: 1259, 1260: 1261, 1262: 1263, 1264: 1265, 1266: 1267, 1268: 1269, 1272: 1273, 1329: 1377, 1330: 1378, 1331: 1379, 1332: 1380, 1333: 1381, 1334: 1382, 1335: 1383, 1336: 1384, 1337: 1385, 1338: 1386, 1339: 1387, 1340: 1388, 1341: 1389, 1342: 1390, 1343: 1391, 1344: 1392, 1345: 1393, 1346: 1394, 1347: 1395, 1348: 1396, 1349: 1397, 1350: 1398, 1351: 1399, 1352: 1400, 1353: 1401, 1354: 1402, 1355: 1403, 1356: 1404, 1357: 1405, 1358: 1406, 1359: 1407, 1360: 1408, 1361: 1409, 1362: 1410, 1363: 1411, 1364: 1412, 1365: 1413, 1366: 1414, 7680: 7681, 7682: 7683, 7684: 7685, 7686: 7687, 7688: 7689, 7690: 7691, 7692: 7693, 7694: 7695, 7696: 7697, 7698: 7699, 7700: 7701, 7702: 7703, 7704: 7705, 7706: 7707, 7708: 7709, 7710: 7711, 7712: 7713, 7714: 7715, 7716: 7717, 7718: 7719, 7720: 7721, 7722: 7723, 7724: 7725, 7726: 7727, 7728: 7729, 7730: 7731, 7732: 7733, 7734: 7735, 7736: 7737, 7738: 7739, 7740: 7741, 7742: 7743, 7744: 7745, 7746: 7747, 7748: 7749, 7750: 7751, 7752: 7753, 7754: 7755, 7756: 7757, 7758: 7759, 7760: 7761, 7762: 7763, 7764: 7765, 7766: 7767, 7768: 7769, 7770: 7771, 7772: 7773, 7774: 7775, 7776: 7777, 7778: 7779, 7780: 7781, 7782: 7783, 7784: 7785, 7786: 7787, 7788: 7789, 7790: 7791, 7792: 7793, 7794: 7795, 7796: 7797, 7798: 7799, 7800: 7801, 7802: 7803, 7804: 7805, 7806: 7807, 7808: 7809, 7810: 7811, 7812: 7813, 7814: 7815, 7816: 7817, 7818: 7819, 7820: 7821, 7822: 7823, 7824: 7825, 7826: 7827, 7828: 7829, 7840: 7841, 7842: 7843, 7844: 7845, 7846: 7847, 7848: 7849, 7850: 7851, 7852: 7853, 7854: 7855, 7856: 7857, 7858: 7859, 7860: 7861, 7862: 7863, 7864: 7865, 7866: 7867, 7868: 7869, 7870: 7871, 7872: 7873, 7874: 7875, 7876: 7877, 7878: 7879, 7880: 7881, 7882: 7883, 7884: 7885, 7886: 7887, 7888: 7889, 7890: 7891, 7892: 7893, 7894: 7895, 7896: 7897, 7898: 7899, 7900: 7901, 7902: 7903, 7904: 7905, 7906: 7907, 7908: 7909, 7910: 7911, 7912: 7913, 7914: 7915, 7916: 7917, 7918: 7919, 7920: 7921, 7922: 7923, 7924: 7925, 7926: 7927, 7928: 7929, 7944: 7936, 7945: 7937, 7946: 7938, 7947: 7939, 7948: 7940, 7949: 7941, 7950: 7942, 7951: 7943, 7960: 7952, 7961: 7953, 7962: 7954, 7963: 7955, 7964: 7956, 7965: 7957, 7976: 7968, 7977: 7969, 7978: 7970, 7979: 7971, 7980: 7972, 7981: 7973, 7982: 7974, 7983: 7975, 7992: 7984, 7993: 7985, 7994: 7986, 7995: 7987, 7996: 7988, 7997: 7989, 7998: 7990, 7999: 7991, 8008: 8000, 8009: 8001, 8010: 8002, 8011: 8003, 8012: 8004, 8013: 8005, 8025: 8017, 8027: 8019, 8029: 8021, 8031: 8023, 8040: 8032, 8041: 8033, 8042: 8034, 8043: 8035, 8044: 8036, 8045: 8037, 8046: 8038, 8047: 8039, 8072: 8064, 8073: 8065, 8074: 8066, 8075: 8067, 8076: 8068, 8077: 8069, 8078: 8070, 8079: 8071, 8088: 8080, 8089: 8081, 8090: 8082, 8091: 8083, 8092: 8084, 8093: 8085, 8094: 8086, 8095: 8087, 8104: 8096, 8105: 8097, 8106: 8098, 8107: 8099, 8108: 8100, 8109: 8101, 8110: 8102, 8111: 8103, 8120: 8112, 8121: 8113, 8122: 8048, 8123: 8049, 8124: 8115, 8136: 8050, 8137: 8051, 8138: 8052, 8139: 8053, 8140: 8131, 8152: 8144, 8153: 8145, 8154: 8054, 8155: 8055, 8168: 8160, 8169: 8161, 8170: 8058, 8171: 8059, 8172: 8165, 8184: 8056, 8185: 8057, 8186: 8060, 8187: 8061, 8188: 8179, 8486: 969, 8490: 107, 8491: 229, 8544: 8560, 8545: 8561, 8546: 8562, 8547: 8563, 8548: 8564, 8549: 8565, 8550: 8566, 8551: 8567, 8552: 8568, 8553: 8569, 8554: 8570, 8555: 8571, 8556: 8572, 8557: 8573, 8558: 8574, 8559: 8575, 9398: 9424, 9399: 9425, 9400: 9426, 9401: 9427, 9402: 9428, 9403: 9429, 9404: 9430, 9405: 9431, 9406: 9432, 9407: 9433, 9408: 9434, 9409: 9435, 9410: 9436, 9411: 9437, 9412: 9438, 9413: 9439, 9414: 9440, 9415: 9441, 9416: 9442, 9417: 9443, 9418: 9444, 9419: 9445, 9420: 9446, 9421: 9447, 9422: 9448, 9423: 9449, 65313: 65345, 65314: 65346, 65315: 65347, 65316: 65348, 65317: 65349, 65318: 65350, 65319: 65351, 65320: 65352, 65321: 65353, 65322: 65354, 65323: 65355, 65324: 65356, 65325: 65357, 65326: 65358, 65327: 65359, 65328: 65360, 65329: 65361, 65330: 65362, 65331: 65363, 65332: 65364, 65333: 65365, 65334: 65366, 65335: 65367, 65336: 65368, 65337: 65369, 65338: 65370, }, }
Utf32 represents the `utf32` character set encoding.
var Utf8mb3 Encoder = &RangeMap{ inputEntries: [][]rangeMapEntry{ { { inputRange: rangeBounds{{0, 127}}, outputRange: rangeBounds{{0, 127}}, inputMults: []int{1}, outputMults: []int{1}, }, }, { { inputRange: rangeBounds{{194, 223}, {128, 191}}, outputRange: rangeBounds{{194, 223}, {128, 191}}, inputMults: []int{64, 1}, outputMults: []int{64, 1}, }, }, { { inputRange: rangeBounds{{224, 224}, {160, 191}, {128, 191}}, outputRange: rangeBounds{{224, 224}, {160, 191}, {128, 191}}, inputMults: []int{2048, 64, 1}, outputMults: []int{2048, 64, 1}, }, { inputRange: rangeBounds{{225, 239}, {128, 191}, {128, 191}}, outputRange: rangeBounds{{225, 239}, {128, 191}, {128, 191}}, inputMults: []int{4096, 64, 1}, outputMults: []int{4096, 64, 1}, }, }, nil, }, outputEntries: [][]rangeMapEntry{ { { inputRange: rangeBounds{{0, 127}}, outputRange: rangeBounds{{0, 127}}, inputMults: []int{1}, outputMults: []int{1}, }, }, { { inputRange: rangeBounds{{194, 223}, {128, 191}}, outputRange: rangeBounds{{194, 223}, {128, 191}}, inputMults: []int{64, 1}, outputMults: []int{64, 1}, }, }, { { inputRange: rangeBounds{{224, 224}, {160, 191}, {128, 191}}, outputRange: rangeBounds{{224, 224}, {160, 191}, {128, 191}}, inputMults: []int{2048, 64, 1}, outputMults: []int{2048, 64, 1}, }, { inputRange: rangeBounds{{225, 239}, {128, 191}, {128, 191}}, outputRange: rangeBounds{{225, 239}, {128, 191}, {128, 191}}, inputMults: []int{4096, 64, 1}, outputMults: []int{4096, 64, 1}, }, }, nil, }, toUpper: map[rune]rune{ 97: 65, 98: 66, 99: 67, 100: 68, 101: 69, 102: 70, 103: 71, 104: 72, 105: 73, 106: 74, 107: 75, 108: 76, 109: 77, 110: 78, 111: 79, 112: 80, 113: 81, 114: 82, 115: 83, 116: 84, 117: 85, 118: 86, 119: 87, 120: 88, 121: 89, 122: 90, 181: 924, 224: 192, 225: 193, 226: 194, 227: 195, 228: 196, 229: 197, 230: 198, 231: 199, 232: 200, 233: 201, 234: 202, 235: 203, 236: 204, 237: 205, 238: 206, 239: 207, 240: 208, 241: 209, 242: 210, 243: 211, 244: 212, 245: 213, 246: 214, 248: 216, 249: 217, 250: 218, 251: 219, 252: 220, 253: 221, 254: 222, 255: 376, 257: 256, 259: 258, 261: 260, 263: 262, 265: 264, 267: 266, 269: 268, 271: 270, 273: 272, 275: 274, 277: 276, 279: 278, 281: 280, 283: 282, 285: 284, 287: 286, 289: 288, 291: 290, 293: 292, 295: 294, 297: 296, 299: 298, 301: 300, 303: 302, 305: 73, 307: 306, 309: 308, 311: 310, 314: 313, 316: 315, 318: 317, 320: 319, 322: 321, 324: 323, 326: 325, 328: 327, 331: 330, 333: 332, 335: 334, 337: 336, 339: 338, 341: 340, 343: 342, 345: 344, 347: 346, 349: 348, 351: 350, 353: 352, 355: 354, 357: 356, 359: 358, 361: 360, 363: 362, 365: 364, 367: 366, 369: 368, 371: 370, 373: 372, 375: 374, 378: 377, 380: 379, 382: 381, 383: 83, 387: 386, 389: 388, 392: 391, 396: 395, 402: 401, 405: 502, 409: 408, 417: 416, 419: 418, 421: 420, 424: 423, 429: 428, 432: 431, 436: 435, 438: 437, 441: 440, 445: 444, 447: 503, 453: 452, 454: 452, 456: 455, 457: 455, 459: 458, 460: 458, 462: 461, 464: 463, 466: 465, 468: 467, 470: 469, 472: 471, 474: 473, 476: 475, 477: 398, 479: 478, 481: 480, 483: 482, 485: 484, 487: 486, 489: 488, 491: 490, 493: 492, 495: 494, 498: 497, 499: 497, 501: 500, 505: 504, 507: 506, 509: 508, 511: 510, 513: 512, 515: 514, 517: 516, 519: 518, 521: 520, 523: 522, 525: 524, 527: 526, 529: 528, 531: 530, 533: 532, 535: 534, 537: 536, 539: 538, 541: 540, 543: 542, 547: 546, 549: 548, 551: 550, 553: 552, 555: 554, 557: 556, 559: 558, 561: 560, 563: 562, 595: 385, 596: 390, 598: 393, 599: 394, 601: 399, 603: 400, 608: 403, 611: 404, 616: 407, 617: 406, 623: 412, 626: 413, 629: 415, 640: 422, 643: 425, 648: 430, 650: 433, 651: 434, 658: 439, 837: 921, 940: 902, 941: 904, 942: 905, 943: 906, 945: 913, 946: 914, 947: 915, 948: 916, 949: 917, 950: 918, 951: 919, 952: 920, 953: 921, 954: 922, 955: 923, 956: 924, 957: 925, 958: 926, 959: 927, 960: 928, 961: 929, 962: 931, 963: 931, 964: 932, 965: 933, 966: 934, 967: 935, 968: 936, 969: 937, 970: 938, 971: 939, 972: 908, 973: 910, 974: 911, 976: 914, 977: 920, 981: 934, 982: 928, 987: 986, 989: 988, 991: 990, 993: 992, 995: 994, 997: 996, 999: 998, 1001: 1000, 1003: 1002, 1005: 1004, 1007: 1006, 1008: 922, 1009: 929, 1010: 931, 1072: 1040, 1073: 1041, 1074: 1042, 1075: 1043, 1076: 1044, 1077: 1045, 1078: 1046, 1079: 1047, 1080: 1048, 1081: 1049, 1082: 1050, 1083: 1051, 1084: 1052, 1085: 1053, 1086: 1054, 1087: 1055, 1088: 1056, 1089: 1057, 1090: 1058, 1091: 1059, 1092: 1060, 1093: 1061, 1094: 1062, 1095: 1063, 1096: 1064, 1097: 1065, 1098: 1066, 1099: 1067, 1100: 1068, 1101: 1069, 1102: 1070, 1103: 1071, 1104: 1024, 1105: 1025, 1106: 1026, 1107: 1027, 1108: 1028, 1109: 1029, 1110: 1030, 1111: 1031, 1112: 1032, 1113: 1033, 1114: 1034, 1115: 1035, 1116: 1036, 1117: 1037, 1118: 1038, 1119: 1039, 1121: 1120, 1123: 1122, 1125: 1124, 1127: 1126, 1129: 1128, 1131: 1130, 1133: 1132, 1135: 1134, 1137: 1136, 1139: 1138, 1141: 1140, 1143: 1142, 1145: 1144, 1147: 1146, 1149: 1148, 1151: 1150, 1153: 1152, 1165: 1164, 1167: 1166, 1169: 1168, 1171: 1170, 1173: 1172, 1175: 1174, 1177: 1176, 1179: 1178, 1181: 1180, 1183: 1182, 1185: 1184, 1187: 1186, 1189: 1188, 1191: 1190, 1193: 1192, 1195: 1194, 1197: 1196, 1199: 1198, 1201: 1200, 1203: 1202, 1205: 1204, 1207: 1206, 1209: 1208, 1211: 1210, 1213: 1212, 1215: 1214, 1218: 1217, 1220: 1219, 1224: 1223, 1228: 1227, 1233: 1232, 1235: 1234, 1237: 1236, 1239: 1238, 1241: 1240, 1243: 1242, 1245: 1244, 1247: 1246, 1249: 1248, 1251: 1250, 1253: 1252, 1255: 1254, 1257: 1256, 1259: 1258, 1261: 1260, 1263: 1262, 1265: 1264, 1267: 1266, 1269: 1268, 1273: 1272, 1377: 1329, 1378: 1330, 1379: 1331, 1380: 1332, 1381: 1333, 1382: 1334, 1383: 1335, 1384: 1336, 1385: 1337, 1386: 1338, 1387: 1339, 1388: 1340, 1389: 1341, 1390: 1342, 1391: 1343, 1392: 1344, 1393: 1345, 1394: 1346, 1395: 1347, 1396: 1348, 1397: 1349, 1398: 1350, 1399: 1351, 1400: 1352, 1401: 1353, 1402: 1354, 1403: 1355, 1404: 1356, 1405: 1357, 1406: 1358, 1407: 1359, 1408: 1360, 1409: 1361, 1410: 1362, 1411: 1363, 1412: 1364, 1413: 1365, 1414: 1366, 7681: 7680, 7683: 7682, 7685: 7684, 7687: 7686, 7689: 7688, 7691: 7690, 7693: 7692, 7695: 7694, 7697: 7696, 7699: 7698, 7701: 7700, 7703: 7702, 7705: 7704, 7707: 7706, 7709: 7708, 7711: 7710, 7713: 7712, 7715: 7714, 7717: 7716, 7719: 7718, 7721: 7720, 7723: 7722, 7725: 7724, 7727: 7726, 7729: 7728, 7731: 7730, 7733: 7732, 7735: 7734, 7737: 7736, 7739: 7738, 7741: 7740, 7743: 7742, 7745: 7744, 7747: 7746, 7749: 7748, 7751: 7750, 7753: 7752, 7755: 7754, 7757: 7756, 7759: 7758, 7761: 7760, 7763: 7762, 7765: 7764, 7767: 7766, 7769: 7768, 7771: 7770, 7773: 7772, 7775: 7774, 7777: 7776, 7779: 7778, 7781: 7780, 7783: 7782, 7785: 7784, 7787: 7786, 7789: 7788, 7791: 7790, 7793: 7792, 7795: 7794, 7797: 7796, 7799: 7798, 7801: 7800, 7803: 7802, 7805: 7804, 7807: 7806, 7809: 7808, 7811: 7810, 7813: 7812, 7815: 7814, 7817: 7816, 7819: 7818, 7821: 7820, 7823: 7822, 7825: 7824, 7827: 7826, 7829: 7828, 7835: 7776, 7841: 7840, 7843: 7842, 7845: 7844, 7847: 7846, 7849: 7848, 7851: 7850, 7853: 7852, 7855: 7854, 7857: 7856, 7859: 7858, 7861: 7860, 7863: 7862, 7865: 7864, 7867: 7866, 7869: 7868, 7871: 7870, 7873: 7872, 7875: 7874, 7877: 7876, 7879: 7878, 7881: 7880, 7883: 7882, 7885: 7884, 7887: 7886, 7889: 7888, 7891: 7890, 7893: 7892, 7895: 7894, 7897: 7896, 7899: 7898, 7901: 7900, 7903: 7902, 7905: 7904, 7907: 7906, 7909: 7908, 7911: 7910, 7913: 7912, 7915: 7914, 7917: 7916, 7919: 7918, 7921: 7920, 7923: 7922, 7925: 7924, 7927: 7926, 7929: 7928, 7936: 7944, 7937: 7945, 7938: 7946, 7939: 7947, 7940: 7948, 7941: 7949, 7942: 7950, 7943: 7951, 7952: 7960, 7953: 7961, 7954: 7962, 7955: 7963, 7956: 7964, 7957: 7965, 7968: 7976, 7969: 7977, 7970: 7978, 7971: 7979, 7972: 7980, 7973: 7981, 7974: 7982, 7975: 7983, 7984: 7992, 7985: 7993, 7986: 7994, 7987: 7995, 7988: 7996, 7989: 7997, 7990: 7998, 7991: 7999, 8000: 8008, 8001: 8009, 8002: 8010, 8003: 8011, 8004: 8012, 8005: 8013, 8017: 8025, 8019: 8027, 8021: 8029, 8023: 8031, 8032: 8040, 8033: 8041, 8034: 8042, 8035: 8043, 8036: 8044, 8037: 8045, 8038: 8046, 8039: 8047, 8048: 8122, 8049: 8123, 8050: 8136, 8051: 8137, 8052: 8138, 8053: 8139, 8054: 8154, 8055: 8155, 8056: 8184, 8057: 8185, 8058: 8170, 8059: 8171, 8060: 8186, 8061: 8187, 8064: 8072, 8065: 8073, 8066: 8074, 8067: 8075, 8068: 8076, 8069: 8077, 8070: 8078, 8071: 8079, 8080: 8088, 8081: 8089, 8082: 8090, 8083: 8091, 8084: 8092, 8085: 8093, 8086: 8094, 8087: 8095, 8096: 8104, 8097: 8105, 8098: 8106, 8099: 8107, 8100: 8108, 8101: 8109, 8102: 8110, 8103: 8111, 8112: 8120, 8113: 8121, 8115: 8124, 8126: 921, 8131: 8140, 8144: 8152, 8145: 8153, 8160: 8168, 8161: 8169, 8165: 8172, 8179: 8188, 8560: 8544, 8561: 8545, 8562: 8546, 8563: 8547, 8564: 8548, 8565: 8549, 8566: 8550, 8567: 8551, 8568: 8552, 8569: 8553, 8570: 8554, 8571: 8555, 8572: 8556, 8573: 8557, 8574: 8558, 8575: 8559, 9424: 9398, 9425: 9399, 9426: 9400, 9427: 9401, 9428: 9402, 9429: 9403, 9430: 9404, 9431: 9405, 9432: 9406, 9433: 9407, 9434: 9408, 9435: 9409, 9436: 9410, 9437: 9411, 9438: 9412, 9439: 9413, 9440: 9414, 9441: 9415, 9442: 9416, 9443: 9417, 9444: 9418, 9445: 9419, 9446: 9420, 9447: 9421, 9448: 9422, 9449: 9423, 65345: 65313, 65346: 65314, 65347: 65315, 65348: 65316, 65349: 65317, 65350: 65318, 65351: 65319, 65352: 65320, 65353: 65321, 65354: 65322, 65355: 65323, 65356: 65324, 65357: 65325, 65358: 65326, 65359: 65327, 65360: 65328, 65361: 65329, 65362: 65330, 65363: 65331, 65364: 65332, 65365: 65333, 65366: 65334, 65367: 65335, 65368: 65336, 65369: 65337, 65370: 65338, }, toLower: map[rune]rune{ 65: 97, 66: 98, 67: 99, 68: 100, 69: 101, 70: 102, 71: 103, 72: 104, 73: 105, 74: 106, 75: 107, 76: 108, 77: 109, 78: 110, 79: 111, 80: 112, 81: 113, 82: 114, 83: 115, 84: 116, 85: 117, 86: 118, 87: 119, 88: 120, 89: 121, 90: 122, 192: 224, 193: 225, 194: 226, 195: 227, 196: 228, 197: 229, 198: 230, 199: 231, 200: 232, 201: 233, 202: 234, 203: 235, 204: 236, 205: 237, 206: 238, 207: 239, 208: 240, 209: 241, 210: 242, 211: 243, 212: 244, 213: 245, 214: 246, 216: 248, 217: 249, 218: 250, 219: 251, 220: 252, 221: 253, 222: 254, 256: 257, 258: 259, 260: 261, 262: 263, 264: 265, 266: 267, 268: 269, 270: 271, 272: 273, 274: 275, 276: 277, 278: 279, 280: 281, 282: 283, 284: 285, 286: 287, 288: 289, 290: 291, 292: 293, 294: 295, 296: 297, 298: 299, 300: 301, 302: 303, 304: 105, 306: 307, 308: 309, 310: 311, 313: 314, 315: 316, 317: 318, 319: 320, 321: 322, 323: 324, 325: 326, 327: 328, 330: 331, 332: 333, 334: 335, 336: 337, 338: 339, 340: 341, 342: 343, 344: 345, 346: 347, 348: 349, 350: 351, 352: 353, 354: 355, 356: 357, 358: 359, 360: 361, 362: 363, 364: 365, 366: 367, 368: 369, 370: 371, 372: 373, 374: 375, 376: 255, 377: 378, 379: 380, 381: 382, 385: 595, 386: 387, 388: 389, 390: 596, 391: 392, 393: 598, 394: 599, 395: 396, 398: 477, 399: 601, 400: 603, 401: 402, 403: 608, 404: 611, 406: 617, 407: 616, 408: 409, 412: 623, 413: 626, 415: 629, 416: 417, 418: 419, 420: 421, 422: 640, 423: 424, 425: 643, 428: 429, 430: 648, 431: 432, 433: 650, 434: 651, 435: 436, 437: 438, 439: 658, 440: 441, 444: 445, 452: 454, 453: 454, 455: 457, 456: 457, 458: 460, 459: 460, 461: 462, 463: 464, 465: 466, 467: 468, 469: 470, 471: 472, 473: 474, 475: 476, 478: 479, 480: 481, 482: 483, 484: 485, 486: 487, 488: 489, 490: 491, 492: 493, 494: 495, 497: 499, 498: 499, 500: 501, 502: 405, 503: 447, 504: 505, 506: 507, 508: 509, 510: 511, 512: 513, 514: 515, 516: 517, 518: 519, 520: 521, 522: 523, 524: 525, 526: 527, 528: 529, 530: 531, 532: 533, 534: 535, 536: 537, 538: 539, 540: 541, 542: 543, 546: 547, 548: 549, 550: 551, 552: 553, 554: 555, 556: 557, 558: 559, 560: 561, 562: 563, 902: 940, 904: 941, 905: 942, 906: 943, 908: 972, 910: 973, 911: 974, 913: 945, 914: 946, 915: 947, 916: 948, 917: 949, 918: 950, 919: 951, 920: 952, 921: 953, 922: 954, 923: 955, 924: 956, 925: 957, 926: 958, 927: 959, 928: 960, 929: 961, 931: 963, 932: 964, 933: 965, 934: 966, 935: 967, 936: 968, 937: 969, 938: 970, 939: 971, 986: 987, 988: 989, 990: 991, 992: 993, 994: 995, 996: 997, 998: 999, 1000: 1001, 1002: 1003, 1004: 1005, 1006: 1007, 1024: 1104, 1025: 1105, 1026: 1106, 1027: 1107, 1028: 1108, 1029: 1109, 1030: 1110, 1031: 1111, 1032: 1112, 1033: 1113, 1034: 1114, 1035: 1115, 1036: 1116, 1037: 1117, 1038: 1118, 1039: 1119, 1040: 1072, 1041: 1073, 1042: 1074, 1043: 1075, 1044: 1076, 1045: 1077, 1046: 1078, 1047: 1079, 1048: 1080, 1049: 1081, 1050: 1082, 1051: 1083, 1052: 1084, 1053: 1085, 1054: 1086, 1055: 1087, 1056: 1088, 1057: 1089, 1058: 1090, 1059: 1091, 1060: 1092, 1061: 1093, 1062: 1094, 1063: 1095, 1064: 1096, 1065: 1097, 1066: 1098, 1067: 1099, 1068: 1100, 1069: 1101, 1070: 1102, 1071: 1103, 1120: 1121, 1122: 1123, 1124: 1125, 1126: 1127, 1128: 1129, 1130: 1131, 1132: 1133, 1134: 1135, 1136: 1137, 1138: 1139, 1140: 1141, 1142: 1143, 1144: 1145, 1146: 1147, 1148: 1149, 1150: 1151, 1152: 1153, 1164: 1165, 1166: 1167, 1168: 1169, 1170: 1171, 1172: 1173, 1174: 1175, 1176: 1177, 1178: 1179, 1180: 1181, 1182: 1183, 1184: 1185, 1186: 1187, 1188: 1189, 1190: 1191, 1192: 1193, 1194: 1195, 1196: 1197, 1198: 1199, 1200: 1201, 1202: 1203, 1204: 1205, 1206: 1207, 1208: 1209, 1210: 1211, 1212: 1213, 1214: 1215, 1217: 1218, 1219: 1220, 1223: 1224, 1227: 1228, 1232: 1233, 1234: 1235, 1236: 1237, 1238: 1239, 1240: 1241, 1242: 1243, 1244: 1245, 1246: 1247, 1248: 1249, 1250: 1251, 1252: 1253, 1254: 1255, 1256: 1257, 1258: 1259, 1260: 1261, 1262: 1263, 1264: 1265, 1266: 1267, 1268: 1269, 1272: 1273, 1329: 1377, 1330: 1378, 1331: 1379, 1332: 1380, 1333: 1381, 1334: 1382, 1335: 1383, 1336: 1384, 1337: 1385, 1338: 1386, 1339: 1387, 1340: 1388, 1341: 1389, 1342: 1390, 1343: 1391, 1344: 1392, 1345: 1393, 1346: 1394, 1347: 1395, 1348: 1396, 1349: 1397, 1350: 1398, 1351: 1399, 1352: 1400, 1353: 1401, 1354: 1402, 1355: 1403, 1356: 1404, 1357: 1405, 1358: 1406, 1359: 1407, 1360: 1408, 1361: 1409, 1362: 1410, 1363: 1411, 1364: 1412, 1365: 1413, 1366: 1414, 7680: 7681, 7682: 7683, 7684: 7685, 7686: 7687, 7688: 7689, 7690: 7691, 7692: 7693, 7694: 7695, 7696: 7697, 7698: 7699, 7700: 7701, 7702: 7703, 7704: 7705, 7706: 7707, 7708: 7709, 7710: 7711, 7712: 7713, 7714: 7715, 7716: 7717, 7718: 7719, 7720: 7721, 7722: 7723, 7724: 7725, 7726: 7727, 7728: 7729, 7730: 7731, 7732: 7733, 7734: 7735, 7736: 7737, 7738: 7739, 7740: 7741, 7742: 7743, 7744: 7745, 7746: 7747, 7748: 7749, 7750: 7751, 7752: 7753, 7754: 7755, 7756: 7757, 7758: 7759, 7760: 7761, 7762: 7763, 7764: 7765, 7766: 7767, 7768: 7769, 7770: 7771, 7772: 7773, 7774: 7775, 7776: 7777, 7778: 7779, 7780: 7781, 7782: 7783, 7784: 7785, 7786: 7787, 7788: 7789, 7790: 7791, 7792: 7793, 7794: 7795, 7796: 7797, 7798: 7799, 7800: 7801, 7802: 7803, 7804: 7805, 7806: 7807, 7808: 7809, 7810: 7811, 7812: 7813, 7814: 7815, 7816: 7817, 7818: 7819, 7820: 7821, 7822: 7823, 7824: 7825, 7826: 7827, 7828: 7829, 7840: 7841, 7842: 7843, 7844: 7845, 7846: 7847, 7848: 7849, 7850: 7851, 7852: 7853, 7854: 7855, 7856: 7857, 7858: 7859, 7860: 7861, 7862: 7863, 7864: 7865, 7866: 7867, 7868: 7869, 7870: 7871, 7872: 7873, 7874: 7875, 7876: 7877, 7878: 7879, 7880: 7881, 7882: 7883, 7884: 7885, 7886: 7887, 7888: 7889, 7890: 7891, 7892: 7893, 7894: 7895, 7896: 7897, 7898: 7899, 7900: 7901, 7902: 7903, 7904: 7905, 7906: 7907, 7908: 7909, 7910: 7911, 7912: 7913, 7914: 7915, 7916: 7917, 7918: 7919, 7920: 7921, 7922: 7923, 7924: 7925, 7926: 7927, 7928: 7929, 7944: 7936, 7945: 7937, 7946: 7938, 7947: 7939, 7948: 7940, 7949: 7941, 7950: 7942, 7951: 7943, 7960: 7952, 7961: 7953, 7962: 7954, 7963: 7955, 7964: 7956, 7965: 7957, 7976: 7968, 7977: 7969, 7978: 7970, 7979: 7971, 7980: 7972, 7981: 7973, 7982: 7974, 7983: 7975, 7992: 7984, 7993: 7985, 7994: 7986, 7995: 7987, 7996: 7988, 7997: 7989, 7998: 7990, 7999: 7991, 8008: 8000, 8009: 8001, 8010: 8002, 8011: 8003, 8012: 8004, 8013: 8005, 8025: 8017, 8027: 8019, 8029: 8021, 8031: 8023, 8040: 8032, 8041: 8033, 8042: 8034, 8043: 8035, 8044: 8036, 8045: 8037, 8046: 8038, 8047: 8039, 8072: 8064, 8073: 8065, 8074: 8066, 8075: 8067, 8076: 8068, 8077: 8069, 8078: 8070, 8079: 8071, 8088: 8080, 8089: 8081, 8090: 8082, 8091: 8083, 8092: 8084, 8093: 8085, 8094: 8086, 8095: 8087, 8104: 8096, 8105: 8097, 8106: 8098, 8107: 8099, 8108: 8100, 8109: 8101, 8110: 8102, 8111: 8103, 8120: 8112, 8121: 8113, 8122: 8048, 8123: 8049, 8124: 8115, 8136: 8050, 8137: 8051, 8138: 8052, 8139: 8053, 8140: 8131, 8152: 8144, 8153: 8145, 8154: 8054, 8155: 8055, 8168: 8160, 8169: 8161, 8170: 8058, 8171: 8059, 8172: 8165, 8184: 8056, 8185: 8057, 8186: 8060, 8187: 8061, 8188: 8179, 8486: 969, 8490: 107, 8491: 229, 8544: 8560, 8545: 8561, 8546: 8562, 8547: 8563, 8548: 8564, 8549: 8565, 8550: 8566, 8551: 8567, 8552: 8568, 8553: 8569, 8554: 8570, 8555: 8571, 8556: 8572, 8557: 8573, 8558: 8574, 8559: 8575, 9398: 9424, 9399: 9425, 9400: 9426, 9401: 9427, 9402: 9428, 9403: 9429, 9404: 9430, 9405: 9431, 9406: 9432, 9407: 9433, 9408: 9434, 9409: 9435, 9410: 9436, 9411: 9437, 9412: 9438, 9413: 9439, 9414: 9440, 9415: 9441, 9416: 9442, 9417: 9443, 9418: 9444, 9419: 9445, 9420: 9446, 9421: 9447, 9422: 9448, 9423: 9449, 65313: 65345, 65314: 65346, 65315: 65347, 65316: 65348, 65317: 65349, 65318: 65350, 65319: 65351, 65320: 65352, 65321: 65353, 65322: 65354, 65323: 65355, 65324: 65356, 65325: 65357, 65326: 65358, 65327: 65359, 65328: 65360, 65329: 65361, 65330: 65362, 65331: 65363, 65332: 65364, 65333: 65365, 65334: 65366, 65335: 65367, 65336: 65368, 65337: 65369, 65338: 65370, }, }
Utf8mb3 represents the `utf8mb3` character set encoding.
var Utf8mb4 Encoder = utf8mb4Encoder{}
Utf8mb4 represents the `utf8mb4` character set encoding.
type RangeMap ¶
type RangeMap struct {
// contains filtered or unexported fields
}
RangeMap is an implementation of Encoder. Almost all files that make use of RangeMap have been generated by the collation-extractor project: https://github.com/dolthub/collation-extractor
func (*RangeMap) DecodeRune ¶
DecodeRune implements the Encoder interface.
func (*RangeMap) EncodeRune ¶
EncodeRune implements the Encoder interface.
func (*RangeMap) IsReturnSafe ¶
IsReturnSafe implements the Encoder interface. All returns from RangeMap are safe to edit as they create a new byte slice.
func (*RangeMap) LowercaseRune ¶
LowercaseRune implements the Encoder interface.
func (*RangeMap) UppercaseRune ¶
UppercaseRune implements the Encoder interface.
Source Files ¶
- ascii.go
- ascii_bin.go
- ascii_general_ci.go
- binary.go
- encoder.go
- latin1.go
- latin1_bin.go
- latin1_general_ci.go
- latin1_general_cs.go
- latin1_german1_ci.go
- latin1_german2_ci.go
- latin1_swedish_ci.go
- rangemap.go
- utf16.go
- utf16_bin.go
- utf16_general_ci.go
- utf16_unicode_ci.go
- utf32.go
- utf32_bin.go
- utf32_general_ci.go
- utf8mb3.go
- utf8mb3_bin.go
- utf8mb3_general_ci.go
- utf8mb3_unicode_ci.go
- utf8mb4.go
- utf8mb4_0900_ai_ci.go
- utf8mb4_0900_as_cs.go
- utf8mb4_0900_bin.go
- utf8mb4_bin.go
- utf8mb4_cs_0900_as_cs.go
- utf8mb4_general_ci.go
- utf8mb4_unicode_520_ci.go
- utf8mb4_unicode_ci.go