package unicode
Import Path
unicode (on golang.org and go.dev)
Dependency Relation
imports 0 packages, and imported by 12 packages
Involved Source Files
casetables.go
digit.go
graphic.go
d-> letter.go
tables.go
Exported Type Names
Exported Values
var
Adlam *
RangeTable // Adlam is the set of Unicode characters in script Adlam.
These variables have type *RangeTable.
var
Ahom *
RangeTable // Ahom is the set of Unicode characters in script Ahom.
These variables have type *RangeTable.
var
Anatolian_Hieroglyphs *
RangeTable // Anatolian_Hieroglyphs is the set of Unicode characters in script Anatolian_Hieroglyphs.
These variables have type *RangeTable.
var
Arabic *
RangeTable // Arabic is the set of Unicode characters in script Arabic.
These variables have type *RangeTable.
var
Armenian *
RangeTable // Armenian is the set of Unicode characters in script Armenian.
These variables have type *RangeTable.
var
ASCII_Hex_Digit *
RangeTable // ASCII_Hex_Digit is the set of Unicode characters with property ASCII_Hex_Digit.
These variables have type *RangeTable.
var
Avestan *
RangeTable // Avestan is the set of Unicode characters in script Avestan.
These variables have type *RangeTable.
var
Balinese *
RangeTable // Balinese is the set of Unicode characters in script Balinese.
These variables have type *RangeTable.
var
Bamum *
RangeTable // Bamum is the set of Unicode characters in script Bamum.
These variables have type *RangeTable.
var
Bassa_Vah *
RangeTable // Bassa_Vah is the set of Unicode characters in script Bassa_Vah.
These variables have type *RangeTable.
var
Batak *
RangeTable // Batak is the set of Unicode characters in script Batak.
These variables have type *RangeTable.
var
Bengali *
RangeTable // Bengali is the set of Unicode characters in script Bengali.
These variables have type *RangeTable.
var
Bhaiksuki *
RangeTable // Bhaiksuki is the set of Unicode characters in script Bhaiksuki.
These variables have type *RangeTable.
var
Bidi_Control *
RangeTable // Bidi_Control is the set of Unicode characters with property Bidi_Control.
These variables have type *RangeTable.
var
Bopomofo *
RangeTable // Bopomofo is the set of Unicode characters in script Bopomofo.
These variables have type *RangeTable.
var
Brahmi *
RangeTable // Brahmi is the set of Unicode characters in script Brahmi.
These variables have type *RangeTable.
var
Braille *
RangeTable // Braille is the set of Unicode characters in script Braille.
These variables have type *RangeTable.
var
Buginese *
RangeTable // Buginese is the set of Unicode characters in script Buginese.
These variables have type *RangeTable.
var
Buhid *
RangeTable // Buhid is the set of Unicode characters in script Buhid.
These variables have type *RangeTable.
var
C *
RangeTable
These variables have type *RangeTable.
var
Canadian_Aboriginal *
RangeTable // Canadian_Aboriginal is the set of Unicode characters in script Canadian_Aboriginal.
These variables have type *RangeTable.
var
Carian *
RangeTable // Carian is the set of Unicode characters in script Carian.
These variables have type *RangeTable.
var
CaseRanges []
CaseRange
CaseRanges is the table describing case mappings for all letters with
non-self mappings.
var
Caucasian_Albanian *
RangeTable // Caucasian_Albanian is the set of Unicode characters in script Caucasian_Albanian.
These variables have type *RangeTable.
var
Cc *
RangeTable // Cc is the set of Unicode characters in category Cc (Other, control).
These variables have type *RangeTable.
var
Cf *
RangeTable // Cf is the set of Unicode characters in category Cf (Other, format).
These variables have type *RangeTable.
var
Chakma *
RangeTable // Chakma is the set of Unicode characters in script Chakma.
These variables have type *RangeTable.
var
Cham *
RangeTable // Cham is the set of Unicode characters in script Cham.
These variables have type *RangeTable.
var
Cherokee *
RangeTable // Cherokee is the set of Unicode characters in script Cherokee.
These variables have type *RangeTable.
var
Co *
RangeTable // Co is the set of Unicode characters in category Co (Other, private use).
These variables have type *RangeTable.
var
Common *
RangeTable // Common is the set of Unicode characters in script Common.
These variables have type *RangeTable.
var
Coptic *
RangeTable // Coptic is the set of Unicode characters in script Coptic.
These variables have type *RangeTable.
var
Cs *
RangeTable // Cs is the set of Unicode characters in category Cs (Other, surrogate).
These variables have type *RangeTable.
var
Cypriot *
RangeTable // Cypriot is the set of Unicode characters in script Cypriot.
These variables have type *RangeTable.
var
Cyrillic *
RangeTable // Cyrillic is the set of Unicode characters in script Cyrillic.
These variables have type *RangeTable.
var
Dash *
RangeTable // Dash is the set of Unicode characters with property Dash.
These variables have type *RangeTable.
var
Deprecated *
RangeTable // Deprecated is the set of Unicode characters with property Deprecated.
These variables have type *RangeTable.
var
Deseret *
RangeTable // Deseret is the set of Unicode characters in script Deseret.
These variables have type *RangeTable.
var
Devanagari *
RangeTable // Devanagari is the set of Unicode characters in script Devanagari.
These variables have type *RangeTable.
var
Diacritic *
RangeTable // Diacritic is the set of Unicode characters with property Diacritic.
These variables have type *RangeTable.
var
Digit *
RangeTable // Digit is the set of Unicode characters with the "decimal digit" property.
These variables have type *RangeTable.
var
Dogra *
RangeTable // Dogra is the set of Unicode characters in script Dogra.
These variables have type *RangeTable.
var
Duployan *
RangeTable // Duployan is the set of Unicode characters in script Duployan.
These variables have type *RangeTable.
var
Egyptian_Hieroglyphs *
RangeTable // Egyptian_Hieroglyphs is the set of Unicode characters in script Egyptian_Hieroglyphs.
These variables have type *RangeTable.
var
Elbasan *
RangeTable // Elbasan is the set of Unicode characters in script Elbasan.
These variables have type *RangeTable.
var
Elymaic *
RangeTable // Elymaic is the set of Unicode characters in script Elymaic.
These variables have type *RangeTable.
var
Ethiopic *
RangeTable // Ethiopic is the set of Unicode characters in script Ethiopic.
These variables have type *RangeTable.
var
Extender *
RangeTable // Extender is the set of Unicode characters with property Extender.
These variables have type *RangeTable.
var
FoldCategory map[
string]*
RangeTable
FoldCategory maps a category name to a table of
code points outside the category that are equivalent under
simple case folding to code points inside the category.
If there is no entry for a category name, there are no such points.
var
FoldScript map[
string]*
RangeTable
FoldScript maps a script name to a table of
code points outside the script that are equivalent under
simple case folding to code points inside the script.
If there is no entry for a script name, there are no such points.
var
Georgian *
RangeTable // Georgian is the set of Unicode characters in script Georgian.
These variables have type *RangeTable.
var
Glagolitic *
RangeTable // Glagolitic is the set of Unicode characters in script Glagolitic.
These variables have type *RangeTable.
var
Gothic *
RangeTable // Gothic is the set of Unicode characters in script Gothic.
These variables have type *RangeTable.
var
Grantha *
RangeTable // Grantha is the set of Unicode characters in script Grantha.
These variables have type *RangeTable.
var
Greek *
RangeTable // Greek is the set of Unicode characters in script Greek.
These variables have type *RangeTable.
var
Gujarati *
RangeTable // Gujarati is the set of Unicode characters in script Gujarati.
These variables have type *RangeTable.
var
Gunjala_Gondi *
RangeTable // Gunjala_Gondi is the set of Unicode characters in script Gunjala_Gondi.
These variables have type *RangeTable.
var
Gurmukhi *
RangeTable // Gurmukhi is the set of Unicode characters in script Gurmukhi.
These variables have type *RangeTable.
var
Han *
RangeTable // Han is the set of Unicode characters in script Han.
These variables have type *RangeTable.
var
Hangul *
RangeTable // Hangul is the set of Unicode characters in script Hangul.
These variables have type *RangeTable.
var
Hanifi_Rohingya *
RangeTable // Hanifi_Rohingya is the set of Unicode characters in script Hanifi_Rohingya.
These variables have type *RangeTable.
var
Hanunoo *
RangeTable // Hanunoo is the set of Unicode characters in script Hanunoo.
These variables have type *RangeTable.
var
Hatran *
RangeTable // Hatran is the set of Unicode characters in script Hatran.
These variables have type *RangeTable.
var
Hebrew *
RangeTable // Hebrew is the set of Unicode characters in script Hebrew.
These variables have type *RangeTable.
var
Hex_Digit *
RangeTable // Hex_Digit is the set of Unicode characters with property Hex_Digit.
These variables have type *RangeTable.
var
Hiragana *
RangeTable // Hiragana is the set of Unicode characters in script Hiragana.
These variables have type *RangeTable.
var
Hyphen *
RangeTable // Hyphen is the set of Unicode characters with property Hyphen.
These variables have type *RangeTable.
var
Ideographic *
RangeTable // Ideographic is the set of Unicode characters with property Ideographic.
These variables have type *RangeTable.
var
IDS_Binary_Operator *
RangeTable // IDS_Binary_Operator is the set of Unicode characters with property IDS_Binary_Operator.
These variables have type *RangeTable.
var
IDS_Trinary_Operator *
RangeTable // IDS_Trinary_Operator is the set of Unicode characters with property IDS_Trinary_Operator.
These variables have type *RangeTable.
var
Imperial_Aramaic *
RangeTable // Imperial_Aramaic is the set of Unicode characters in script Imperial_Aramaic.
These variables have type *RangeTable.
func
In(r
rune, ranges ...*
RangeTable)
bool
In reports whether the rune is a member of one of the ranges.
var
Inherited *
RangeTable // Inherited is the set of Unicode characters in script Inherited.
These variables have type *RangeTable.
var
Inscriptional_Pahlavi *
RangeTable // Inscriptional_Pahlavi is the set of Unicode characters in script Inscriptional_Pahlavi.
These variables have type *RangeTable.
var
Inscriptional_Parthian *
RangeTable // Inscriptional_Parthian is the set of Unicode characters in script Inscriptional_Parthian.
These variables have type *RangeTable.
func
Is(rangeTab *
RangeTable, r
rune)
bool
Is reports whether the rune is in the specified table of ranges.
func
IsControl(r
rune)
bool
IsControl reports whether the rune is a control character.
The C (Other) Unicode category includes more code points
such as surrogates; use Is(C, r) to test for them.
func
IsDigit(r
rune)
bool
IsDigit reports whether the rune is a decimal digit.
func
IsGraphic(r
rune)
bool
IsGraphic reports whether the rune is defined as a Graphic by Unicode.
Such characters include letters, marks, numbers, punctuation, symbols, and
spaces, from categories L, M, N, P, S, Zs.
func
IsLetter(r
rune)
bool
IsLetter reports whether the rune is a letter (category L).
func
IsLower(r
rune)
bool
IsLower reports whether the rune is a lower case letter.
func
IsMark(r
rune)
bool
IsMark reports whether the rune is a mark character (category M).
func
IsNumber(r
rune)
bool
IsNumber reports whether the rune is a number (category N).
func
IsOneOf(ranges []*
RangeTable, r
rune)
bool
IsOneOf reports whether the rune is a member of one of the ranges.
The function "In" provides a nicer signature and should be used in preference to IsOneOf.
func
IsPrint(r
rune)
bool
IsPrint reports whether the rune is defined as printable by Go. Such
characters include letters, marks, numbers, punctuation, symbols, and the
ASCII space character, from categories L, M, N, P, S and the ASCII space
character. This categorization is the same as IsGraphic except that the
only spacing character is ASCII space, U+0020.
func
IsPunct(r
rune)
bool
IsPunct reports whether the rune is a Unicode punctuation character
(category P).
func
IsSpace(r
rune)
bool
IsSpace reports whether the rune is a space character as defined
by Unicode's White Space property; in the Latin-1 space
this is
'\t', '\n', '\v', '\f', '\r', ' ', U+0085 (NEL), U+00A0 (NBSP).
Other definitions of spacing characters are set by category
Z and property Pattern_White_Space.
func
IsSymbol(r
rune)
bool
IsSymbol reports whether the rune is a symbolic character.
func
IsTitle(r
rune)
bool
IsTitle reports whether the rune is a title case letter.
func
IsUpper(r
rune)
bool
IsUpper reports whether the rune is an upper case letter.
var
Javanese *
RangeTable // Javanese is the set of Unicode characters in script Javanese.
These variables have type *RangeTable.
var
Join_Control *
RangeTable // Join_Control is the set of Unicode characters with property Join_Control.
These variables have type *RangeTable.
var
Kaithi *
RangeTable // Kaithi is the set of Unicode characters in script Kaithi.
These variables have type *RangeTable.
var
Kannada *
RangeTable // Kannada is the set of Unicode characters in script Kannada.
These variables have type *RangeTable.
var
Katakana *
RangeTable // Katakana is the set of Unicode characters in script Katakana.
These variables have type *RangeTable.
var
Kayah_Li *
RangeTable // Kayah_Li is the set of Unicode characters in script Kayah_Li.
These variables have type *RangeTable.
var
Kharoshthi *
RangeTable // Kharoshthi is the set of Unicode characters in script Kharoshthi.
These variables have type *RangeTable.
var
Khmer *
RangeTable // Khmer is the set of Unicode characters in script Khmer.
These variables have type *RangeTable.
var
Khojki *
RangeTable // Khojki is the set of Unicode characters in script Khojki.
These variables have type *RangeTable.
var
Khudawadi *
RangeTable // Khudawadi is the set of Unicode characters in script Khudawadi.
These variables have type *RangeTable.
var
L *
RangeTable
These variables have type *RangeTable.
var
Lao *
RangeTable // Lao is the set of Unicode characters in script Lao.
These variables have type *RangeTable.
var
Latin *
RangeTable // Latin is the set of Unicode characters in script Latin.
These variables have type *RangeTable.
var
Lepcha *
RangeTable // Lepcha is the set of Unicode characters in script Lepcha.
These variables have type *RangeTable.
var
Letter *
RangeTable // Letter/L is the set of Unicode letters, category L.
These variables have type *RangeTable.
var
Limbu *
RangeTable // Limbu is the set of Unicode characters in script Limbu.
These variables have type *RangeTable.
var
Linear_A *
RangeTable // Linear_A is the set of Unicode characters in script Linear_A.
These variables have type *RangeTable.
var
Linear_B *
RangeTable // Linear_B is the set of Unicode characters in script Linear_B.
These variables have type *RangeTable.
var
Lisu *
RangeTable // Lisu is the set of Unicode characters in script Lisu.
These variables have type *RangeTable.
var
Ll *
RangeTable // Ll is the set of Unicode characters in category Ll (Letter, lowercase).
These variables have type *RangeTable.
var
Lm *
RangeTable // Lm is the set of Unicode characters in category Lm (Letter, modifier).
These variables have type *RangeTable.
var
Lo *
RangeTable // Lo is the set of Unicode characters in category Lo (Letter, other).
These variables have type *RangeTable.
var
Logical_Order_Exception *
RangeTable // Logical_Order_Exception is the set of Unicode characters with property Logical_Order_Exception.
These variables have type *RangeTable.
var
Lower *
RangeTable // Lower is the set of Unicode lower case letters.
These variables have type *RangeTable.
const
LowerCase = 1
Indices into the Delta arrays inside CaseRanges for case mapping.
var
Lt *
RangeTable // Lt is the set of Unicode characters in category Lt (Letter, titlecase).
These variables have type *RangeTable.
var
Lu *
RangeTable // Lu is the set of Unicode characters in category Lu (Letter, uppercase).
These variables have type *RangeTable.
var
Lycian *
RangeTable // Lycian is the set of Unicode characters in script Lycian.
These variables have type *RangeTable.
var
Lydian *
RangeTable // Lydian is the set of Unicode characters in script Lydian.
These variables have type *RangeTable.
var
M *
RangeTable
These variables have type *RangeTable.
var
Mahajani *
RangeTable // Mahajani is the set of Unicode characters in script Mahajani.
These variables have type *RangeTable.
var
Makasar *
RangeTable // Makasar is the set of Unicode characters in script Makasar.
These variables have type *RangeTable.
var
Malayalam *
RangeTable // Malayalam is the set of Unicode characters in script Malayalam.
These variables have type *RangeTable.
var
Mandaic *
RangeTable // Mandaic is the set of Unicode characters in script Mandaic.
These variables have type *RangeTable.
var
Manichaean *
RangeTable // Manichaean is the set of Unicode characters in script Manichaean.
These variables have type *RangeTable.
var
Marchen *
RangeTable // Marchen is the set of Unicode characters in script Marchen.
These variables have type *RangeTable.
var
Mark *
RangeTable // Mark/M is the set of Unicode mark characters, category M.
These variables have type *RangeTable.
var
Masaram_Gondi *
RangeTable // Masaram_Gondi is the set of Unicode characters in script Masaram_Gondi.
These variables have type *RangeTable.
const
MaxASCII = 127 // maximum ASCII value.
const
MaxCase = 3
Indices into the Delta arrays inside CaseRanges for case mapping.
const
MaxLatin1 = 255 // maximum Latin-1 value.
const
MaxRune = 1114111 // Maximum valid Unicode code point.
var
Mc *
RangeTable // Mc is the set of Unicode characters in category Mc (Mark, spacing combining).
These variables have type *RangeTable.
var
Me *
RangeTable // Me is the set of Unicode characters in category Me (Mark, enclosing).
These variables have type *RangeTable.
var
Medefaidrin *
RangeTable // Medefaidrin is the set of Unicode characters in script Medefaidrin.
These variables have type *RangeTable.
var
Meetei_Mayek *
RangeTable // Meetei_Mayek is the set of Unicode characters in script Meetei_Mayek.
These variables have type *RangeTable.
var
Mende_Kikakui *
RangeTable // Mende_Kikakui is the set of Unicode characters in script Mende_Kikakui.
These variables have type *RangeTable.
var
Meroitic_Cursive *
RangeTable // Meroitic_Cursive is the set of Unicode characters in script Meroitic_Cursive.
These variables have type *RangeTable.
var
Meroitic_Hieroglyphs *
RangeTable // Meroitic_Hieroglyphs is the set of Unicode characters in script Meroitic_Hieroglyphs.
These variables have type *RangeTable.
var
Miao *
RangeTable // Miao is the set of Unicode characters in script Miao.
These variables have type *RangeTable.
var
Mn *
RangeTable // Mn is the set of Unicode characters in category Mn (Mark, nonspacing).
These variables have type *RangeTable.
var
Modi *
RangeTable // Modi is the set of Unicode characters in script Modi.
These variables have type *RangeTable.
var
Mongolian *
RangeTable // Mongolian is the set of Unicode characters in script Mongolian.
These variables have type *RangeTable.
var
Mro *
RangeTable // Mro is the set of Unicode characters in script Mro.
These variables have type *RangeTable.
var
Multani *
RangeTable // Multani is the set of Unicode characters in script Multani.
These variables have type *RangeTable.
var
Myanmar *
RangeTable // Myanmar is the set of Unicode characters in script Myanmar.
These variables have type *RangeTable.
var
N *
RangeTable
These variables have type *RangeTable.
var
Nabataean *
RangeTable // Nabataean is the set of Unicode characters in script Nabataean.
These variables have type *RangeTable.
var
Nandinagari *
RangeTable // Nandinagari is the set of Unicode characters in script Nandinagari.
These variables have type *RangeTable.
var
Nd *
RangeTable // Nd is the set of Unicode characters in category Nd (Number, decimal digit).
These variables have type *RangeTable.
var
New_Tai_Lue *
RangeTable // New_Tai_Lue is the set of Unicode characters in script New_Tai_Lue.
These variables have type *RangeTable.
var
Newa *
RangeTable // Newa is the set of Unicode characters in script Newa.
These variables have type *RangeTable.
var
Nko *
RangeTable // Nko is the set of Unicode characters in script Nko.
These variables have type *RangeTable.
var
Nl *
RangeTable // Nl is the set of Unicode characters in category Nl (Number, letter).
These variables have type *RangeTable.
var
No *
RangeTable // No is the set of Unicode characters in category No (Number, other).
These variables have type *RangeTable.
var
Noncharacter_Code_Point *
RangeTable // Noncharacter_Code_Point is the set of Unicode characters with property Noncharacter_Code_Point.
These variables have type *RangeTable.
var
Number *
RangeTable // Number/N is the set of Unicode number characters, category N.
These variables have type *RangeTable.
var
Nushu *
RangeTable // Nushu is the set of Unicode characters in script Nushu.
These variables have type *RangeTable.
var
Nyiakeng_Puachue_Hmong *
RangeTable // Nyiakeng_Puachue_Hmong is the set of Unicode characters in script Nyiakeng_Puachue_Hmong.
These variables have type *RangeTable.
var
Ogham *
RangeTable // Ogham is the set of Unicode characters in script Ogham.
These variables have type *RangeTable.
var
Ol_Chiki *
RangeTable // Ol_Chiki is the set of Unicode characters in script Ol_Chiki.
These variables have type *RangeTable.
var
Old_Hungarian *
RangeTable // Old_Hungarian is the set of Unicode characters in script Old_Hungarian.
These variables have type *RangeTable.
var
Old_Italic *
RangeTable // Old_Italic is the set of Unicode characters in script Old_Italic.
These variables have type *RangeTable.
var
Old_North_Arabian *
RangeTable // Old_North_Arabian is the set of Unicode characters in script Old_North_Arabian.
These variables have type *RangeTable.
var
Old_Permic *
RangeTable // Old_Permic is the set of Unicode characters in script Old_Permic.
These variables have type *RangeTable.
var
Old_Persian *
RangeTable // Old_Persian is the set of Unicode characters in script Old_Persian.
These variables have type *RangeTable.
var
Old_Sogdian *
RangeTable // Old_Sogdian is the set of Unicode characters in script Old_Sogdian.
These variables have type *RangeTable.
var
Old_South_Arabian *
RangeTable // Old_South_Arabian is the set of Unicode characters in script Old_South_Arabian.
These variables have type *RangeTable.
var
Old_Turkic *
RangeTable // Old_Turkic is the set of Unicode characters in script Old_Turkic.
These variables have type *RangeTable.
var
Oriya *
RangeTable // Oriya is the set of Unicode characters in script Oriya.
These variables have type *RangeTable.
var
Osage *
RangeTable // Osage is the set of Unicode characters in script Osage.
These variables have type *RangeTable.
var
Osmanya *
RangeTable // Osmanya is the set of Unicode characters in script Osmanya.
These variables have type *RangeTable.
var
Other *
RangeTable // Other/C is the set of Unicode control and special characters, category C.
These variables have type *RangeTable.
var
Other_Alphabetic *
RangeTable // Other_Alphabetic is the set of Unicode characters with property Other_Alphabetic.
These variables have type *RangeTable.
var
Other_Grapheme_Extend *
RangeTable // Other_Grapheme_Extend is the set of Unicode characters with property Other_Grapheme_Extend.
These variables have type *RangeTable.
var
Other_ID_Continue *
RangeTable // Other_ID_Continue is the set of Unicode characters with property Other_ID_Continue.
These variables have type *RangeTable.
var
Other_ID_Start *
RangeTable // Other_ID_Start is the set of Unicode characters with property Other_ID_Start.
These variables have type *RangeTable.
var
Other_Lowercase *
RangeTable // Other_Lowercase is the set of Unicode characters with property Other_Lowercase.
These variables have type *RangeTable.
var
Other_Math *
RangeTable // Other_Math is the set of Unicode characters with property Other_Math.
These variables have type *RangeTable.
var
Other_Uppercase *
RangeTable // Other_Uppercase is the set of Unicode characters with property Other_Uppercase.
These variables have type *RangeTable.
var
P *
RangeTable
These variables have type *RangeTable.
var
Pahawh_Hmong *
RangeTable // Pahawh_Hmong is the set of Unicode characters in script Pahawh_Hmong.
These variables have type *RangeTable.
var
Palmyrene *
RangeTable // Palmyrene is the set of Unicode characters in script Palmyrene.
These variables have type *RangeTable.
var
Pattern_Syntax *
RangeTable // Pattern_Syntax is the set of Unicode characters with property Pattern_Syntax.
These variables have type *RangeTable.
var
Pattern_White_Space *
RangeTable // Pattern_White_Space is the set of Unicode characters with property Pattern_White_Space.
These variables have type *RangeTable.
var
Pau_Cin_Hau *
RangeTable // Pau_Cin_Hau is the set of Unicode characters in script Pau_Cin_Hau.
These variables have type *RangeTable.
var
Pc *
RangeTable // Pc is the set of Unicode characters in category Pc (Punctuation, connector).
These variables have type *RangeTable.
var
Pd *
RangeTable // Pd is the set of Unicode characters in category Pd (Punctuation, dash).
These variables have type *RangeTable.
var
Pe *
RangeTable // Pe is the set of Unicode characters in category Pe (Punctuation, close).
These variables have type *RangeTable.
var
Pf *
RangeTable // Pf is the set of Unicode characters in category Pf (Punctuation, final quote).
These variables have type *RangeTable.
var
Phags_Pa *
RangeTable // Phags_Pa is the set of Unicode characters in script Phags_Pa.
These variables have type *RangeTable.
var
Phoenician *
RangeTable // Phoenician is the set of Unicode characters in script Phoenician.
These variables have type *RangeTable.
var
Pi *
RangeTable // Pi is the set of Unicode characters in category Pi (Punctuation, initial quote).
These variables have type *RangeTable.
var
Po *
RangeTable // Po is the set of Unicode characters in category Po (Punctuation, other).
These variables have type *RangeTable.
var
Prepended_Concatenation_Mark *
RangeTable // Prepended_Concatenation_Mark is the set of Unicode characters with property Prepended_Concatenation_Mark.
These variables have type *RangeTable.
var
PrintRanges []*
RangeTable
PrintRanges defines the set of printable characters according to Go.
ASCII space, U+0020, is handled separately.
var
Ps *
RangeTable // Ps is the set of Unicode characters in category Ps (Punctuation, open).
These variables have type *RangeTable.
var
Psalter_Pahlavi *
RangeTable // Psalter_Pahlavi is the set of Unicode characters in script Psalter_Pahlavi.
These variables have type *RangeTable.
var
Punct *
RangeTable // Punct/P is the set of Unicode punctuation characters, category P.
These variables have type *RangeTable.
var
Quotation_Mark *
RangeTable // Quotation_Mark is the set of Unicode characters with property Quotation_Mark.
These variables have type *RangeTable.
var
Radical *
RangeTable // Radical is the set of Unicode characters with property Radical.
These variables have type *RangeTable.
var
Regional_Indicator *
RangeTable // Regional_Indicator is the set of Unicode characters with property Regional_Indicator.
These variables have type *RangeTable.
var
Rejang *
RangeTable // Rejang is the set of Unicode characters in script Rejang.
These variables have type *RangeTable.
var
Runic *
RangeTable // Runic is the set of Unicode characters in script Runic.
These variables have type *RangeTable.
var
S *
RangeTable
These variables have type *RangeTable.
var
Samaritan *
RangeTable // Samaritan is the set of Unicode characters in script Samaritan.
These variables have type *RangeTable.
var
Saurashtra *
RangeTable // Saurashtra is the set of Unicode characters in script Saurashtra.
These variables have type *RangeTable.
var
Sc *
RangeTable // Sc is the set of Unicode characters in category Sc (Symbol, currency).
These variables have type *RangeTable.
var
Sentence_Terminal *
RangeTable // Sentence_Terminal is the set of Unicode characters with property Sentence_Terminal.
These variables have type *RangeTable.
var
Sharada *
RangeTable // Sharada is the set of Unicode characters in script Sharada.
These variables have type *RangeTable.
var
Shavian *
RangeTable // Shavian is the set of Unicode characters in script Shavian.
These variables have type *RangeTable.
var
Siddham *
RangeTable // Siddham is the set of Unicode characters in script Siddham.
These variables have type *RangeTable.
var
SignWriting *
RangeTable // SignWriting is the set of Unicode characters in script SignWriting.
These variables have type *RangeTable.
func
SimpleFold(r
rune)
rune
SimpleFold iterates over Unicode code points equivalent under
the Unicode-defined simple case folding. Among the code points
equivalent to rune (including rune itself), SimpleFold returns the
smallest rune > r if one exists, or else the smallest rune >= 0.
If r is not a valid Unicode code point, SimpleFold(r) returns r.
For example:
SimpleFold('A') = 'a'
SimpleFold('a') = 'A'
SimpleFold('K') = 'k'
SimpleFold('k') = '\u212A' (Kelvin symbol, K)
SimpleFold('\u212A') = 'K'
SimpleFold('1') = '1'
SimpleFold(-2) = -2
var
Sinhala *
RangeTable // Sinhala is the set of Unicode characters in script Sinhala.
These variables have type *RangeTable.
var
Sk *
RangeTable // Sk is the set of Unicode characters in category Sk (Symbol, modifier).
These variables have type *RangeTable.
var
Sm *
RangeTable // Sm is the set of Unicode characters in category Sm (Symbol, math).
These variables have type *RangeTable.
var
So *
RangeTable // So is the set of Unicode characters in category So (Symbol, other).
These variables have type *RangeTable.
var
Soft_Dotted *
RangeTable // Soft_Dotted is the set of Unicode characters with property Soft_Dotted.
These variables have type *RangeTable.
var
Sogdian *
RangeTable // Sogdian is the set of Unicode characters in script Sogdian.
These variables have type *RangeTable.
var
Sora_Sompeng *
RangeTable // Sora_Sompeng is the set of Unicode characters in script Sora_Sompeng.
These variables have type *RangeTable.
var
Soyombo *
RangeTable // Soyombo is the set of Unicode characters in script Soyombo.
These variables have type *RangeTable.
var
Space *
RangeTable // Space/Z is the set of Unicode space characters, category Z.
These variables have type *RangeTable.
var
STerm *
RangeTable // STerm is an alias for Sentence_Terminal.
These variables have type *RangeTable.
var
Sundanese *
RangeTable // Sundanese is the set of Unicode characters in script Sundanese.
These variables have type *RangeTable.
var
Syloti_Nagri *
RangeTable // Syloti_Nagri is the set of Unicode characters in script Syloti_Nagri.
These variables have type *RangeTable.
var
Symbol *
RangeTable // Symbol/S is the set of Unicode symbol characters, category S.
These variables have type *RangeTable.
var
Syriac *
RangeTable // Syriac is the set of Unicode characters in script Syriac.
These variables have type *RangeTable.
var
Tagalog *
RangeTable // Tagalog is the set of Unicode characters in script Tagalog.
These variables have type *RangeTable.
var
Tagbanwa *
RangeTable // Tagbanwa is the set of Unicode characters in script Tagbanwa.
These variables have type *RangeTable.
var
Tai_Le *
RangeTable // Tai_Le is the set of Unicode characters in script Tai_Le.
These variables have type *RangeTable.
var
Tai_Tham *
RangeTable // Tai_Tham is the set of Unicode characters in script Tai_Tham.
These variables have type *RangeTable.
var
Tai_Viet *
RangeTable // Tai_Viet is the set of Unicode characters in script Tai_Viet.
These variables have type *RangeTable.
var
Takri *
RangeTable // Takri is the set of Unicode characters in script Takri.
These variables have type *RangeTable.
var
Tamil *
RangeTable // Tamil is the set of Unicode characters in script Tamil.
These variables have type *RangeTable.
var
Tangut *
RangeTable // Tangut is the set of Unicode characters in script Tangut.
These variables have type *RangeTable.
var
Telugu *
RangeTable // Telugu is the set of Unicode characters in script Telugu.
These variables have type *RangeTable.
var
Terminal_Punctuation *
RangeTable // Terminal_Punctuation is the set of Unicode characters with property Terminal_Punctuation.
These variables have type *RangeTable.
var
Thaana *
RangeTable // Thaana is the set of Unicode characters in script Thaana.
These variables have type *RangeTable.
var
Thai *
RangeTable // Thai is the set of Unicode characters in script Thai.
These variables have type *RangeTable.
var
Tibetan *
RangeTable // Tibetan is the set of Unicode characters in script Tibetan.
These variables have type *RangeTable.
var
Tifinagh *
RangeTable // Tifinagh is the set of Unicode characters in script Tifinagh.
These variables have type *RangeTable.
var
Tirhuta *
RangeTable // Tirhuta is the set of Unicode characters in script Tirhuta.
These variables have type *RangeTable.
var
Title *
RangeTable // Title is the set of Unicode title case letters.
These variables have type *RangeTable.
const
TitleCase = 2
Indices into the Delta arrays inside CaseRanges for case mapping.
func
To(_case
int, r
rune)
rune
To maps the rune to the specified case: UpperCase, LowerCase, or TitleCase.
var
Ugaritic *
RangeTable // Ugaritic is the set of Unicode characters in script Ugaritic.
These variables have type *RangeTable.
var
Unified_Ideograph *
RangeTable // Unified_Ideograph is the set of Unicode characters with property Unified_Ideograph.
These variables have type *RangeTable.
var
Upper *
RangeTable // Upper is the set of Unicode upper case letters.
These variables have type *RangeTable.
const
UpperCase = 0
Indices into the Delta arrays inside CaseRanges for case mapping.
const
UpperLower = 1114112 // (Cannot be a valid delta.)
If the Delta field of a CaseRange is UpperLower, it means
this CaseRange represents a sequence of the form (say)
Upper Lower Upper Lower.
var
Vai *
RangeTable // Vai is the set of Unicode characters in script Vai.
These variables have type *RangeTable.
var
Variation_Selector *
RangeTable // Variation_Selector is the set of Unicode characters with property Variation_Selector.
These variables have type *RangeTable.
const
Version = "12.0.0"
Version is the Unicode edition from which the tables are derived.
var
Wancho *
RangeTable // Wancho is the set of Unicode characters in script Wancho.
These variables have type *RangeTable.
var
Warang_Citi *
RangeTable // Warang_Citi is the set of Unicode characters in script Warang_Citi.
These variables have type *RangeTable.
var
White_Space *
RangeTable // White_Space is the set of Unicode characters with property White_Space.
These variables have type *RangeTable.
var
Yi *
RangeTable // Yi is the set of Unicode characters in script Yi.
These variables have type *RangeTable.
var
Z *
RangeTable
These variables have type *RangeTable.
var
Zanabazar_Square *
RangeTable // Zanabazar_Square is the set of Unicode characters in script Zanabazar_Square.
These variables have type *RangeTable.
var
Zl *
RangeTable // Zl is the set of Unicode characters in category Zl (Separator, line).
These variables have type *RangeTable.
var
Zp *
RangeTable // Zp is the set of Unicode characters in category Zp (Separator, paragraph).
These variables have type *RangeTable.
var
Zs *
RangeTable // Zs is the set of Unicode characters in category Zs (Separator, space).
These variables have type *RangeTable.