File tree 3 files changed +845
-804
lines changed
3 files changed +845
-804
lines changed Original file line number Diff line number Diff line change 54
54
# these are the surrogate codepoints, which are not valid rust characters
55
55
surrogate_codepoints = (0xd800 , 0xdfff )
56
56
57
- UNICODE_VERSION = (12 , 0 , 0 )
57
+ UNICODE_VERSION = (13 , 0 , 0 )
58
58
59
59
UNICODE_VERSION_NUMBER = "%s.%s.%s" % UNICODE_VERSION
60
60
@@ -64,10 +64,10 @@ def is_surrogate(n):
64
64
def fetch (f ):
65
65
if not os .path .exists (os .path .basename (f )):
66
66
if "emoji" in f :
67
- os .system ("curl -O https://www.unicode.org/Public/emoji/%s.%s /%s"
68
- % (UNICODE_VERSION [ 0 ], UNICODE_VERSION [ 1 ] , f ))
67
+ os .system ("curl -O https://www.unicode.org/Public/%s/ucd/emoji /%s"
68
+ % (UNICODE_VERSION_NUMBER , f ))
69
69
else :
70
- os .system ("curl -O http ://www.unicode.org/Public/%s/ucd/%s"
70
+ os .system ("curl -O https ://www.unicode.org/Public/%s/ucd/%s"
71
71
% (UNICODE_VERSION_NUMBER , f ))
72
72
73
73
if not os .path .exists (os .path .basename (f )):
You can’t perform that action at this time.
0 commit comments