I have already checked this document:
http://www.unicode.org/Public/8.0.0/ucd/EastAsianWidth.txt
and this one:
https://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c
(actually, wcwitdh is Unicode 5.0 version of east asian width).
But some words, such as ‧ ("\u2027" in C++), are ambiguous in east asian width.
In Linux, it is as narrow as plain alphabet (such as a).
However, in Windows, it is as wide as Chinese word (such as 我).
Besides, for some words, such as ® ("\u00ae" in C++), are also ambiguous in east asian width.
But ® is as narrow as plain alphabet in both Linux and Windows.
How to correctly determine if a Unicode word is wide or narrow in different platforms? (for ambiguous words).
EastAsianWidth.txt, you need to look at the surrounding context to determine the width: unicode.org/reports/tr11/#Ambiguousbytes countof a Unicode. But thank you for your replying.