HomeFreeBSD

localedata: add some exceptions to utf8proc widths

Description

localedata: add some exceptions to utf8proc widths

Hangul Jamo medial vowels and final consonants are reportedly combining
characters that won't take up any columns on their own and should be
reported as zero-width, so add an exception for these as well to reflect
how they work in practice. This conforms to how other implementations
(e.g., glibc) treat these characters.

Reviewed by: bapt (earlier version), jkim
Sponsored by: Klara, Inc.

(cherry picked from commit 160c36eae41afa3c4944ed44778c2b48db8fbb77)

Details

Provenance
kevansAuthored on Nov 13 2024, 10:12 PM
Parents
rGa85a7f2ae112: localedata: update widths.txt after recent Hangul exceptions
Branches
Unknown
Tags
Unknown