[New-bugs-announce] [issue31216] Add ensure_ascii argument to json.tool
TaoQingyun
report at bugs.python.org
Wed Aug 16 01:46:56 EDT 2017
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 <report at bugs.python.org>
<http://bugs.python.org/issue31216>
_______________________________________
More information about the New-bugs-announce
mailing list