From 5a82c79fdfdf06a61a712510d473426644d15964 Mon Sep 17 00:00:00 2001 From: Oleg Churkin Date: Thu, 12 Jul 2012 17:30:41 +0400 Subject: [PATCH] Now non-ascii symbols displayed correctly in the output (not as escape sequences). --- httpie/pretty.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/httpie/pretty.py b/httpie/pretty.py index 8c6bdbee..b3dd716d 100644 --- a/httpie/pretty.py +++ b/httpie/pretty.py @@ -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