> Date: Thu, 17 Sep 2015 16:51:03 +0100 > From: Daniel Bünzli <daniel.buen...@erratique.ch> > Cc: Richard Wordingham <richard.wording...@ntlworld.com>, unicode@unicode.org > > > > Date: Thu, 17 Sep 2015 13:27:31 +0100 > > > From: Richard Wordingham <richard.wording...@ntlworld.com > > > (mailto:richard.wording...@ntlworld.com)> > > > > > > The best estimator is probably the POSIX function wcswidth(). > > Only on glibc-based systems, I'm quite sure. > > Is there a formal definition of the algorithm used ? This [1] is not very > helpful.
They just use a table of values, AFAIK.