wcwidth() and wcswidth() and Latin vs. CJK character width

Alexey Dokuchaev danfe at nsu.ru
Wed Mar 24 14:30:24 UTC 2021


Hi there,

I've been wondering if there's anything like Markus Kuhn's implementation*
in our base libraries for $subj (my quick naive search didn't turn up any
results).  If yes, could someone point me at it?  If no, how feasible would
it be to add Markus' code to our libc or perhaps some ancillary library?

./danfe

*) https://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c


More information about the freebsd-hackers mailing list