On Fri, Dec 05, 2014 at 10:39:49PM +0000, Dimitris Papastamos wrote:
> On Fri, Dec 05, 2014 at 02:18:03PM -0800, Robert Ransom wrote:
> > On 12/5/14, Brandon Mulcahy <bran...@jangler.info> wrote:
> > > -It does not handle non-ASCII UTF-8 runes
> > > -or TAB characters correctly.
> > > +It does not handle TAB characters correctly.
> > 
> > utflen returns the number of runes in a string, not the number of
> > character cells that will be used to display it on a terminal.
> 
> Hm... yes.

That's true. Perhaps the man page could say something like: "It assumes
a single-cell glyph for each character". The deficiency isn't unique to
the treatment of UTF-8.

Reply via email to