author | laurent |
Tue, 27 Oct 2009 16:12:53 +0100 | |
changeset 452 | 34fc9b813205 |
parent 451 | 20464365086e |
child 455 | d39f7fb16ec9 |
PLCControler.py | file | annotate | diff | comparison | revisions |
--- a/PLCControler.py Mon Oct 26 11:49:06 2009 +0100 +++ b/PLCControler.py Tue Oct 27 16:12:53 2009 +0100 @@ -2596,7 +2596,7 @@ xmlfile = open(filepath,"w") else: xmlfile = open(self.FilePath,"w") - xmlfile.write(text) + xmlfile.write(text.encode("utf-8")) xmlfile.close() self.MarkProjectAsSaved() if filepath: