diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/emoji_codegen.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/emoji_codegen.py b/scripts/emoji_codegen.py index df581036..88f711f3 100755 --- a/scripts/emoji_codegen.py +++ b/scripts/emoji_codegen.py @@ -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() |