This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug localedata/24314] charmaps: Some of UTF-8 characters have invalid width
- From: "egmont at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 08 Mar 2019 13:56:15 +0000
- Subject: [Bug localedata/24314] charmaps: Some of UTF-8 characters have invalid width
- Auto-submitted: auto-generated
- References: <bug-24314-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=24314
Egmont Koblinger <egmont at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |egmont at gmail dot com
--- Comment #1 from Egmont Koblinger <egmont at gmail dot com> ---
(In reply to Łukasz Stelmach from comment #0)
> grep '^[^;]*;[WF]' EastAsianWidth.txt | grep 2693
>
> returns no results which means the line 47261 (as of commit c5f65462a2)
This command _does_ print "2693;W" for me, as of the aforementioned commit,
assuming the input file is glibc's localedata/unicode-gen/EastAsianWidth.txt
(line 1210).
Note that the width of many codepoints, including this one, changed from narrow
to wide with Unicode 9.0. Compare these two files:
ftp://ftp.unicode.org/Public/8.0.0/ucd/EastAsianWidth.txt ("2670..269D;N")
ftp://ftp.unicode.org/Public/9.0.0/ucd/EastAsianWidth.txt ("2693;W")
Any chance you worked from a Unicode 8 (or older) EastAsianWidth.txt, rather
than the one in glibc's source?
(Also note that your grep command can easily miss matches, since the file
defines ranges. It's not the case with U+2693 though.)
--
You are receiving this mail because:
You are on the CC list for the bug.