Skip to content

Commit

Permalink
Adding full normalization table
Browse files Browse the repository at this point in the history
  • Loading branch information
0xacb committed Feb 2, 2023
1 parent fce1531 commit d7ab1ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recollapse
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class Recollapse:
for c in charset:
self.normalization_d[c] = []

for c in range(0xffff):
for c in range(0x110000):
norm_c = unidecode.unidecode(chr(c))
if len(norm_c) == 1 and norm_c in charset and norm_c != chr(c):
self.normalization_d[norm_c].append(chr(c))
Expand Down

0 comments on commit d7ab1ea

Please sign in to comment.