projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
580be30
)
Handle more cases of combining characters
author
Thorsten Glaser
<tg@mirbsd.de>
Fri, 14 Jul 2017 12:02:44 +0000
(14:02 +0200)
committer
Mike FABIAN
<mfabian@redhat.com>
Thu, 17 Aug 2017 09:06:08 +0000
(11:06 +0200)
[BZ #21750]
* unicode-gen/utf8_gen.py: Treat category Me and Mn as combining.
localedata/unicode-gen/utf8_gen.py
patch
|
blob
|
history
diff --git
a/localedata/unicode-gen/utf8_gen.py
b/localedata/unicode-gen/utf8_gen.py
index
12f01d8
..
332751b
100755
(executable)
--- a/
localedata/unicode-gen/utf8_gen.py
+++ b/
localedata/unicode-gen/utf8_gen.py
@@
-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'