diff --git a/scripts/make_chinese_mapping.py b/scripts/make_chinese_mapping.py index 4a17d4f..3d78708 100644 --- a/scripts/make_chinese_mapping.py +++ b/scripts/make_chinese_mapping.py @@ -36,7 +36,7 @@ def make_hanzi_converter(table_in, msgpack_out): if chr(codept) != char: table[codept] = char with gzip.open(msgpack_out, 'wb') as outfile: - msgpack.dump(table, outfile, encoding='utf-8') + msgpack.dump(table, outfile, raw=False) def build():