aboutsummaryrefslogtreecommitdiff
path: root/tools/ac_converter.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ac_converter.py')
-rwxr-xr-xtools/ac_converter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ac_converter.py b/tools/ac_converter.py
index 6c72f8d..c3b954c 100755
--- a/tools/ac_converter.py
+++ b/tools/ac_converter.py
@@ -371,7 +371,7 @@ if len(sys.argv) != 2:
print(help_message.format(sys.argv[0]))
sys.exit(0)
-with open(sys.argv[1]) as f:
+with open(sys.argv[1], encoding='utf-8') as f:
for line in f:
line = line.strip()
arr = line.split()