From a73c2e473801eb7ed8d05f15a4a92b264c88f0cb Mon Sep 17 00:00:00 2001 From: Josip Date: Mon, 21 Sep 2015 18:58:53 -0700 Subject: [PATCH] 8937: Unable to produce graph reports [in Greek locale] --- gramps/plugins/database/bsddb_support/read.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/plugins/database/bsddb_support/read.py b/gramps/plugins/database/bsddb_support/read.py index 0cc03e6ef..b3ca37b20 100644 --- a/gramps/plugins/database/bsddb_support/read.py +++ b/gramps/plugins/database/bsddb_support/read.py @@ -1969,7 +1969,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: