From 6e850945ddf057e3f1d7006cbdc0d3bb7cd469ce Mon Sep 17 00:00:00 2001 From: alvinpenner Date: Fri, 24 Apr 2009 21:58:09 +0000 Subject: [PATCH] fix for LP bug 366227 --- share/extensions/dxf_input.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/extensions/dxf_input.py b/share/extensions/dxf_input.py index c44cb78ee..6ae5e6255 100644 --- a/share/extensions/dxf_input.py +++ b/share/extensions/dxf_input.py @@ -345,7 +345,7 @@ if options.auto: scale = 210.0/(xmax - xmin) # scale to A4 width else: scale = float(options.scale) # manual scale factor -desc.text = '%s - scale = %f' % (args[0], scale) +desc.text = '%s - scale = %f' % (unicode(args[0], "iso-8859-1"), scale) scale *= 90.0/25.4 # convert from mm to pixels for linename in linetypes.keys(): # scale the dashed lines -- 2.30.2