[Bug localedata/22074] charmaps/UTF-8: wcwidth for U+1160-U+11FF (Hangul Jungseong and Jongseong) should be 0

maiku.fabian at gmail dot com sourceware-bugzilla@sourceware.org
Wed Sep 6 06:44:00 GMT 2017


https://sourceware.org/bugzilla/show_bug.cgi?id=22074

--- Comment #5 from Mike FABIAN <maiku.fabian at gmail dot com> ---
(In reply to Mike Frysinger from comment #4)
> (In reply to Mike FABIAN from comment #1)

> (In reply to Troy Korjuslommi from comment #2)
> > Aren't Korean chars usually full width? I.e. wcwidth 2.
> 
> the precomposed hangul forms are wcwidth of 2:
>   https://en.wikipedia.org/wiki/Hangul_Syllables
> 
> so i guess not only would we want to change the two sets to 0, we'd want to
> change the first set to 2.  that way we'd line up with the precomposed forms
> better.

I think we already set the precomposed hangul to width 2 because of this line

AC00..D7A3;W     # Lo [11172] HANGUL SYLLABLE GA..HANGUL SYLLABLE HIH

in EastAsianWidth.txt

we have

<UAC00>...<UD7A3>       2

in charmaps/UTF-8 in the WIDTH section.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list