Add Diacritic support from PropList.txt.

This commit is contained in:
Reece H. Dunn
2017-04-14 11:38:47 +01:00
parent 3ff6d8ae0f
commit d067838684
3 changed files with 281 additions and 21 deletions
+1
View File
@@ -134,6 +134,7 @@ def properties(data):
props += 1024 * data.get('ASCII_Hex_Digit', 0)
props += 2048 * data.get('Other_Alphabetic', 0)
props += 4096 * data.get('Ideographic', 0)
props += 8192 * data.get('Diacritic', 0)
return props
if __name__ == '__main__':