diff --git a/gramps/plugins/docgen/svgdrawdoc.py b/gramps/plugins/docgen/svgdrawdoc.py index 7d58eefbc..a8bf77bda 100644 --- a/gramps/plugins/docgen/svgdrawdoc.py +++ b/gramps/plugins/docgen/svgdrawdoc.py @@ -83,7 +83,7 @@ class SvgDrawDoc(BaseDoc, DrawDoc): name = "%s.svg" % self.root try: - self.f = open(name,"w") + self.f = open(name,"w", encoding="utf-8") except IOError as msg: raise ReportError(_("Could not create %s") % name, msg) except: