update msgpack call in scripts/make_chinese_mapping

This commit is contained in:
Robyn Speer 2019-02-05 11:16:22 -05:00
parent 61a1604b38
commit dd72051929

View File

@ -36,7 +36,7 @@ def make_hanzi_converter(table_in, msgpack_out):
if chr(codept) != char: if chr(codept) != char:
table[codept] = char table[codept] = char
with gzip.open(msgpack_out, 'wb') as outfile: with gzip.open(msgpack_out, 'wb') as outfile:
msgpack.dump(table, outfile, encoding='utf-8') msgpack.dump(table, outfile, raw=False)
def build(): def build():