A wide-character aware text alignment function for use on the console or with fixed width fonts.
Unicode-aware Han characters (hanzi, kanji, hanja) detection
A wide-character aware text alignment function for use on the console or with fixed width fonts.
Get the visual width of a string - the number of columns required to display it
Get the visual width of the widest line in a string - the number of columns required to display it