Skip to main content

Module unicode

Module unicode 

Source

Functionsยง

char_width
Display width of a Unicode character for terminal rendering.
is_combining
True if ch is a combining (zero-width) mark.
is_wide
True if ch occupies two columns (CJK, wide emoji, etc.).