From 20c73a3e4184c89aa1e19a678d7cd8083a105d0e Mon Sep 17 00:00:00 2001 From: alvinpenner Date: Fri, 12 Dec 2008 11:15:17 +0000 Subject: [PATCH] use iso-8859-1 --- share/extensions/dxf_input.py | 1 + 1 file changed, 1 insertion(+) diff --git a/share/extensions/dxf_input.py b/share/extensions/dxf_input.py index 235c777b0..7e7a78da9 100644 --- a/share/extensions/dxf_input.py +++ b/share/extensions/dxf_input.py @@ -210,6 +210,7 @@ while line[0] and line[1] != 'ENDSEC': seqs.append(line[0]) # list of group codes if line[0] == '1' or line[0] == '8': # text value val = line[1].replace('\~', ' ') + val = unicode(val, "iso-8859-1") elif line[0] == '62' or line[0] == '70': # unscaled integer value val = int(line[1]) elif line[0] == '10': # scaled float x value -- 2.30.2