#861213 unicode: please print wcwidth

#861213#5
Date:
2017-04-26 00:43:23 UTC
From:
To:
Package: unicode
Version: 2.4
Severity: wishlist

Hi!
It'd be nice if you included the value of wcwidth().  It'd be useful as some
characters like "〈" are unexpectedly double-width.  Especially Plane 1 is
an awful mess for example U+1F0CF PLAYING CARD BLACK JOKER has width of 2
while every other character in that block, including U+1F0DF PLAYING CARD
WHITE JOKER, have width 1.

If you do so, please include it in an existing line -- the per-character
output of your tool is already too long while most lines are mostly empty.
As wcwidth is derived from "Category" and "East Asian Width", it'd fit
well in the line with "Category".


Meow!

#861213#10
Date:
2022-04-11 16:17:54 UTC
From:
To:
The current version (2.8-1.1) does include the East Asian Width property
on the Category line.

Including the actual number of columns as with wcwidth wouldn't probably
be much more helpful than that, especially since it cannot be sensibly
done for neutral and ambiguous characters.