[issue22701] Write unescaped unicode characters (Japanese, Chinese, etc) in JSON module when "ensure_ascii=False"

R. David Murray report at bugs.python.org
Sat Nov 1 02:47:03 CET 2014


R. David Murray added the comment:

That error message indicates you've opened the output file in binary mode instead of text mode.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22701>
_______________________________________


More information about the Python-bugs-list mailing list