From a2558dd4d8d2546bed56667efbfb6e78977deb15 Mon Sep 17 00:00:00 2001 From: Zufu Liu Date: Sat, 2 Nov 2019 08:54:05 +1100 Subject: Backport: Extend script to cover last Unicode character. Does not affect output. Backport of changeset 7754:c7557ad4c958. --- scripts/GenerateCaseConvert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/GenerateCaseConvert.py b/scripts/GenerateCaseConvert.py index 1e85a1c43..5e2b39873 100644 --- a/scripts/GenerateCaseConvert.py +++ b/scripts/GenerateCaseConvert.py @@ -40,7 +40,7 @@ def conversionSets(): # with complex cases. complexes = [] symmetrics = [] - for ch in range(sys.maxunicode): + for ch in range(sys.maxunicode + 1): if ch >= 0xd800 and ch <= 0xDBFF: continue if ch >= 0xdc00 and ch <= 0xDFFF: -- cgit v1.2.3