We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
2 parentsd1ae69c +8a23a6e commit5fa8968Copy full SHA for 5fa8968
scripts/unicode.py
@@ -54,7 +54,7 @@
54
# these are the surrogate codepoints, which are not valid rust characters
55
surrogate_codepoints= (0xd800,0xdfff)
56
57
-UNICODE_VERSION= (12,0,0)
+UNICODE_VERSION= (13,0,0)
58
59
UNICODE_VERSION_NUMBER="%s.%s.%s"%UNICODE_VERSION
60
@@ -64,10 +64,10 @@ def is_surrogate(n):
64
deffetch(f):
65
ifnotos.path.exists(os.path.basename(f)):
66
if"emoji"inf:
67
-os.system("curl -O https://www.unicode.org/Public/emoji/%s.%s/%s"
68
-% (UNICODE_VERSION[0],UNICODE_VERSION[1],f))
+os.system("curl -O https://www.unicode.org/Public/%s/ucd/emoji/%s"
+% (UNICODE_VERSION_NUMBER,f))
69
else:
70
-os.system("curl -Ohttp://www.unicode.org/Public/%s/ucd/%s"
+os.system("curl -Ohttps://www.unicode.org/Public/%s/ucd/%s"
71
% (UNICODE_VERSION_NUMBER,f))
72
73