mirror of
https://github.com/httpie/cli.git
synced 2025-04-23 12:08:50 +02:00
Now non-ascii symbols displayed correctly in the output (not as escape sequences).
This commit is contained in:
parent
05b321d38f
commit
5a82c79fdf
@ -42,7 +42,8 @@ class PrettyHttp(object):
|
|||||||
try:
|
try:
|
||||||
# Indent and sort the JSON data.
|
# Indent and sort the JSON data.
|
||||||
content = json.dumps(json.loads(content),
|
content = json.dumps(json.loads(content),
|
||||||
sort_keys=True, indent=4)
|
sort_keys=True, indent=4,
|
||||||
|
ensure_ascii=False)
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user