Which different widths of code points regarding the print column do exist, supposed an a (\N{LATIN SMALL LETTER A}) has width of print column 1?
Edit:
“print column width” refers to the output to a terminal
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In Unicode, characters can be nonspacing (0 columns), narrow (1 column) or wide (2 columns). You can get the number of columns a string would take using the method
columnsfromGCString, ormbswidthfromText::CharWidth.Of course, this only works for monospaced output, e.g: output to a terminal.