mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
Handle more cases of combining characters
[BZ #21750] * unicode-gen/utf8_gen.py: Treat category Me and Mn as combining.
This commit is contained in:
parent
580be3035d
commit
41b6f0ce85
@ -232,7 +232,7 @@ def process_width(outfile, ulines, elines):
|
||||
width_dict[key] = unicode_utils.ucs_symbol(key) + '\t2'
|
||||
for line in ulines:
|
||||
fields = line.split(";")
|
||||
if fields[4] == "NSM" or fields[2] == "Cf":
|
||||
if fields[4] == "NSM" or fields[2] in ("Cf", "Me", "Mn"):
|
||||
width_dict[int(fields[0], 16)] = unicode_utils.ucs_symbol(
|
||||
int(fields[0], 16)) + '\t0'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user