Files
herolib/aiprompts/v_core/encoding/encoding.utf8.east_asian.md
2025-09-02 07:28:13 +02:00

899 B

module encoding.utf8.east_asian

Contents

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.

[Return to contents]

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]

[Return to contents]

EastAsianWidthProperty

enum EastAsianWidthProperty {
	full
	half
	wide
	narrow
	ambiguous
	neutral
}

EastAsianWidthType represents East_Asian_Width informative prorperty

[Return to contents]

Powered by vdoc. Generated on: 2 Sep 2025 07:18:04