Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20211227234359.GZ7074@brightrain.aerifal.cx>
Date: Mon, 27 Dec 2021 18:43:59 -0500
From: Rich Felker <dalias@...c.org>
To: Luis Javier Merino <ninjalj@...il.com>
Cc: musl@...ts.openwall.com
Subject: Re: Hangul Jamo vowels and trailing consonants should
 probably be 0 width

On Mon, Dec 27, 2021 at 11:38:06PM +0100, Luis Javier Merino wrote:
> Hello,
> 
> I've been looking at widths reported for Hangul Jamo in wcwidth implementations.
> 
> In glibc and MirBSD xterm, U+1160..U+11FF and U+D7B0..U+D7FF have 0 width.

Thanks for reporting! Indeed this is a bug and possibly even a
regression since I thought it was right. It looks like it happened in
commit 1b0ce9af6d2aa7b92edaf3e9c631cb635bae22bd, "new wcwidth
implementation (fast table-based)" thanks to the Unicode data not
having this right. Indeed:

-       R(0x1160, 0x11FF, 0),

I'll update the tools that generate the tables to account for the
omission.

Rich

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.