C++ Logo

sg16

Advanced search

Re: [SG16-Unicode] [isocpp-lib] New issue: Are std::format field widths code units, code points, or something else?

From: Thiago Macieira <thiago_at_[hidden]>
Date: Fri, 13 Sep 2019 08:16:25 -0700
On Thursday, 12 September 2019 22:50:06 PDT Henri Sivonen wrote:
> On Fri, Sep 13, 2019 at 3:55 AM Thiago Macieira <thiago_at_[hidden]> wrote:
> > At the risk of just kicking the can down the road, isn't there something
> > the Unicode Consortium should provide?
>
> It provides East Asian Width. It's unfortunate that despite emoji
> arising from the domain of East Asian typography, East Asian Width
> doesn't work well for later emoji additions. But defining some kind of
> Extended East Asian Width would indeed be something one would expect
> the Unicode Consortium to define instead of something that the C++
> committee should define.

My knowledge is deficient here. Can you give an example of a string whose
width isn't properly defined, even under monospace fonts? What glyph can be
both narrow and wide?

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel System Software Products

Received on 2019-09-13 17:16:33