diff -r 20464365086e -r 34fc9b813205 PLCControler.py --- 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: