Module unicode

Source
Expand description

Package unicode provides data and functions to test some properties of Unicode code points.

Modules§

utf8
Package utf8 implements functions and constants to support text encoded in UTF-8. It includes functions to translate between runes and UTF-8 byte sequences. See https://en.wikipedia.org/wiki/UTF-8

Constants§

MAX_ASCII
maximum ASCII value.
MAX_LATIN1
maximum Latin-1 value.
MAX_RUNE
Maximum valid Unicode code point.
REPLACEMENT_CHAR
Represents invalid code points.

Type Aliases§

Rune
Rune is an alias for i32. It is added for compatibility with Go rune type, which is i32.