Skip to content

Commit

Permalink
Arch: fixed Label encoding in IFC export
Browse files Browse the repository at this point in the history
  • Loading branch information
yorikvanhavre committed Jun 2, 2015
1 parent 1808fd8 commit 0fec404
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/Arch/importIFC.py
Expand Up @@ -702,7 +702,7 @@ def export(exportList,filename):
for obj in objectslist:

# getting generic data
name = str(obj.Label)
name = str(obj.Label.encode("utf8"))
description = str(obj.Description) if hasattr(obj,"Description") else ""

# getting uid
Expand Down

0 comments on commit 0fec404

Please sign in to comment.