Skip to content

encoding.utf8.east_asian #

fn display_width #

fn display_width(s string, ambiguous_width int) int

display_width return the display width as number of unicode chars from a string.

fn east_asian_width_property_at #

fn east_asian_width_property_at(s string, index int) EastAsianWidthProperty

width_property_at returns the East Asian Width properties at string[index]

enum EastAsianWidthProperty #

enum EastAsianWidthProperty {
	full
	half
	wide
	narrow
	ambiguous
	neutral
}

EastAsianWidthType represents East_Asian_Width informative prorperty