Commit ac79b32e authored by Yuxin Wu's avatar Yuxin Wu

fix msgpack serialization for string/bytes (fix #577)

parent ce1c507d
......@@ -27,4 +27,4 @@ def loads(buf):
Args:
buf (str): serialized object.
"""
return msgpack.loads(buf)
return msgpack.loads(buf, encoding='utf-8')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment