From 9ee777274cc64ed4517ce218f5a8d49eb2857b0d Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Sun, 8 Apr 2018 23:52:15 +0100 Subject: [PATCH] Allow unicode characters in json export --- gramps/gen/lib/serialize.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/gen/lib/serialize.py b/gramps/gen/lib/serialize.py index 5e4dcea14..6059e14f9 100644 --- a/gramps/gen/lib/serialize.py +++ b/gramps/gen/lib/serialize.py @@ -75,7 +75,7 @@ def to_json(obj): :returns: A JSON string. :rtype: str """ - return json.dumps(obj, default=__default) + return json.dumps(obj, default=__default, ensure_ascii=False) def from_json(data): """