我有一个程序,使用UTF-8字符串输出文本表,我需要测量字符串使用的等宽字符单元格的数量,以便我可以正确对齐它.如果可能的话,我想用标准功能做到这一点.
c linux string utf-8
c ×1
linux ×1
string ×1
utf-8 ×1