Arch: Further encoding bugfix in IFC exporter

This commit is contained in:
Yorik van Havre
2018-04-25 11:22:02 -03:00
parent 23725806af
commit b146890ecf

View File

@@ -1227,7 +1227,7 @@ def export(exportList,filename):
key = key.encode("utf8")
else:
key = str(key)
tp = tp.encode("utf8")
#tp = tp.encode("utf8")
if tp in ["IfcLabel","IfcText","IfcIdentifier",'IfcDescriptiveMeasure']:
val = val.encode("utf8")
elif tp == "IfcBoolean":