Add Unicode 14.0 emoji

This commit is contained in:
Joseph Donofry 2021-09-25 02:19:44 -04:00
parent 7f5b604e87
commit 526c1cdcc4
3 changed files with 484 additions and 70 deletions

View file

@ -54,7 +54,7 @@ if __name__ == '__main__':
}
current_category = ''
for line in open(filename, 'r'):
for line in open(filename, 'r', encoding="utf8"):
if line.startswith('# group:'):
current_category = line.split(':', 1)[1].strip()