8667: SVG Document output

This commit is contained in:
Josip 2015-06-28 15:15:52 -07:00 committed by Paul Franklin
parent fc08e7de4e
commit d943e122a8

View File

@ -83,7 +83,7 @@ class SvgDrawDoc(BaseDoc, DrawDoc):
name = "%s.svg" % self.root name = "%s.svg" % self.root
try: try:
self.f = open(name,"w") self.f = open(name,"w", encoding="utf-8")
except IOError as msg: except IOError as msg:
raise ReportError(_("Could not create %s") % name, msg) raise ReportError(_("Could not create %s") % name, msg)
except: except: