Skip to content

Commit aab7137

Browse files
committed
Update to Unicode 13.0.0.
1 parent 916eec5 commit aab7137

File tree

2 files changed

+1177
-1186
lines changed

2 files changed

+1177
-1186
lines changed

scripts/unicode.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
#![allow(missing_docs, non_upper_case_globals, non_snake_case)]
3535
'''
3636

37-
UNICODE_VERSION = (12, 1, 0)
37+
UNICODE_VERSION = (13, 0, 0)
3838

3939
UNICODE_VERSION_NUMBER = "%s.%s.%s" %UNICODE_VERSION
4040

@@ -54,7 +54,7 @@ def load_properties(f, interestingprops = None):
5454
re1 = re.compile(r"^ *([0-9A-F]+) *; *(\w+)")
5555
re2 = re.compile(r"^ *([0-9A-F]+)\.\.([0-9A-F]+) *; *(\w+)")
5656

57-
for line in fileinput.input(os.path.basename(f)):
57+
for line in fileinput.input(os.path.basename(f), openhook=fileinput.hook_encoded("utf-8")):
5858
prop = None
5959
d_lo = 0
6060
d_hi = 0

0 commit comments

Comments
 (0)