mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 17:38:00 +00:00
read_ucd.py: tolerate whitespace in EastAsianWidth.txt.
Unicode 16.0.0 has changed the formatting of that file in a way that I'm sure _they_ thought was unproblematic :-) by putting spaces around the character class field, which the reading code wasn't prepared to cope with.
This commit is contained in:
parent
79ff0d086a
commit
1441023f5a
@ -248,7 +248,7 @@ class Main:
|
|||||||
else:
|
else:
|
||||||
cs = [int(fields[0], 16)]
|
cs = [int(fields[0], 16)]
|
||||||
for c in cs:
|
for c in cs:
|
||||||
yield c, fields[1]
|
yield c, fields[1].strip()
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def CompositionExclusions(self):
|
def CompositionExclusions(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user