New submission from Wei-Cheng Pan: This patch adds a command line option "--no-escape" that allows json.tool to display non-ASCII characters.
e.g.: $ echo '"測試"' | python -m json.tool "\u6e2c\u8a66" $ echo '"測試"' | python -m json.tool --no-escape "測試" ---------- components: Library (Lib) files: json-add-an-option-to-bypass-non-ascii-characters.patch keywords: patch messages: 269479 nosy: Wei-Cheng.Pan priority: normal severity: normal status: open title: Add an option to json.tool to bypass non-ASCII characters. type: enhancement versions: Python 3.6 Added file: http://bugs.python.org/file43578/json-add-an-option-to-bypass-non-ascii-characters.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27413> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com