Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var EastAsian = false
EastAsian is the flag for ambiguous character. If this flag is `true`, ambiguous characters are treated as full width. Elsewise, ambiguous characters are treated as half width. Default value is `false`.
var EastAsianAmbiguous = _EastAsianAmbiguous
EastAsianAmbiguous is the unicode.RangeTable for East Asian ambiguous characters
var EastAsianFullwidth = _EastAsianFullwidth
EastAsianFullwidth is the unicode.RangeTable for East Asian full width characters
var EastAsianHalfwidth = _EastAsianHalfwidth
EastAsianHalfwidth is the unicode.RangeTable for East Asian half width characters
var EastAsianNarrow = _EastAsianNarrow
EastAsianNarrow is the unicode.RangeTable for East Asian narrow characters
var EastAsianNeutral = _EastAsianNeutral
EastAsianNeutral is the unicode.RangeTable for East Asian neutral characters
var EastAsianWide = _EastAsianWide
EastAsianWide is the unicode.RangeTable for East Asian wide characters
Functions ¶
func Fullwidth ¶
func Fullwidth() map[string]*unicode.RangeTable
Fullwidth returns the map of unicode.RangeTable of full width East Asian characters
func Halfwidth ¶
func Halfwidth() map[string]*unicode.RangeTable
Halfwidth returns the map of unicode.RangeTable of half width East Asian characters
func IsFullwidth ¶
IsFullwidth reports whether the rune is in range of full width character of East Asian.
func IsHalfwidth ¶
IsHalfwidth reports whether the rune is in range of half width character of East Asian.
Types ¶
This section is empty.