mirror of
https://github.com/httpie/cli.git
synced 2024-11-24 08:22:22 +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:
|
||||
# Indent and sort the JSON data.
|
||||
content = json.dumps(json.loads(content),
|
||||
sort_keys=True, indent=4)
|
||||
sort_keys=True, indent=4,
|
||||
ensure_ascii=False)
|
||||
except:
|
||||
pass
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user