Skip to content

Commit

Permalink
supplemental arrows-c entries are non bmp
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcarlisle committed Jun 17, 2021
1 parent 4cb7945 commit 9e11468
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tables/operator-dictionary.py
Original file line number Diff line number Diff line change
Expand Up @@ -503,11 +503,11 @@ def convertToSurrogatePairs():
knownTables[name]["multipleChar"].sort()
knownTables[name]["singleChar"].sort()

# Remove non-BMP characters.
# Remove non-BMP characters. (Arabic Operators and supplemental arrows-C
knownNonBMP = [0x1EEF0, 0x1EEF1]
for name in knownTables:
for entry in knownTables[name]["singleChar"]:
assert entry < 0x10000 or entry in knownNonBMP
assert entry < 0x10000 or entry in knownNonBMP or (entry >=0x1F800 and entry < 0x1F900)
knownTables[name]["singleChar"] = [ entry for entry in knownTables[name]["singleChar"] if entry < 0x10000 ]

# Convert multiChar to singleChar
Expand Down

0 comments on commit 9e11468

Please sign in to comment.