From a8561a9eeac698b3a25b0bc9aa2e42fd795fbeae Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Sat, 22 Mar 2014 13:25:59 -0300 Subject: [PATCH] Fixes Draft encoding bug - fixes #1487 --- src/Mod/Draft/importSVG.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Draft/importSVG.py b/src/Mod/Draft/importSVG.py index d8b99f3ba2..6f13f23f73 100644 --- a/src/Mod/Draft/importSVG.py +++ b/src/Mod/Draft/importSVG.py @@ -964,7 +964,7 @@ class svgHandler(xml.sax.ContentHandler): def characters(self,content): if self.text: - FreeCAD.Console.PrintMessage("reading characters %s\n" % str(content)) + FreeCAD.Console.PrintMessage("reading characters %s\n" % content) obj=self.doc.addObject("App::Annotation",'Text') obj.LabelText = content.encode('latin1') vec = Vector(self.x,-self.y,0)