diff --git a/fire/core.py b/fire/core.py index 37af3493..28dd4cb5 100644 --- a/fire/core.py +++ b/fire/core.py @@ -255,7 +255,8 @@ def _OneLineResult(result): return str(result).replace('\n', ' ') try: - return json.dumps(result) + # non-forced to ascii convert + return json.dumps(result, ensure_ascii=False) except (TypeError, ValueError): return str(result).replace('\n', ' ')