8667: SVG Document output
This commit is contained in:
parent
fc08e7de4e
commit
d943e122a8
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user