From f96df5658c838a36b95c68688cdf3a1f6f806ff6 Mon Sep 17 00:00:00 2001 From: Josip Date: Wed, 29 Jul 2015 04:28:19 +0200 Subject: [PATCH] 8764: [Compare Individual Events :Tool ] Selecting "Save" causes a UnicodeEncodeError error --- gramps/gen/utils/docgen/odstab.py | 2 +- gramps/plugins/tool/eventcmp.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/gramps/gen/utils/docgen/odstab.py b/gramps/gen/utils/docgen/odstab.py index 2064f3757..0f1a45e91 100644 --- a/gramps/gen/utils/docgen/odstab.py +++ b/gramps/gen/utils/docgen/odstab.py @@ -341,7 +341,7 @@ class ODSTab(TabbedDoc): except: raise ReportError(_("Could not create %s") % self.content_xml) - self.f = open(self.content_xml,"w") + self.f = open(self.content_xml,"w", encoding='utf-8') self.f.write( '\n' + '