From 6f66a021bbbec647d1da68d46be4a18a42af688a Mon Sep 17 00:00:00 2001 From: Josip Date: Mon, 21 Sep 2015 18:58:14 -0700 Subject: [PATCH] 8937: Unable to produce graph reports [in Greek locale] --- gramps/gen/db/read.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/gen/db/read.py b/gramps/gen/db/read.py index 87dc112d6..7b1f942f0 100644 --- a/gramps/gen/db/read.py +++ b/gramps/gen/db/read.py @@ -1968,7 +1968,7 @@ class DbBsddbRead(DbReadBase, Callback): """ filepath = os.path.join(self.path, "name.txt") try: - name_file = open(filepath, "r") + name_file = open(filepath, "r", encoding='utf-8') name = name_file.readline().strip() name_file.close() except (OSError, IOError) as msg: