New submission from TaoQingyun: Sometimes I want this ``` $ echo -e '"\xe4\xbd\xa0\xe5\xa5\xbd"' | ./python -m json.tool --no-escape "你好" ```
not just ``` $ echo -e '"\xe4\xbd\xa0\xe5\xa5\xbd"' | ./python -m json.tool "\u4f60\u597d" ``` ---------- components: Library (Lib) files: jsontool.patch keywords: patch messages: 300327 nosy: qingyunha priority: normal severity: normal status: open title: Add ensure_ascii argument to json.tool type: enhancement versions: Python 3.7 Added file: http://bugs.python.org/file47083/jsontool.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue31216> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com