diff -r 1a5471e81a93 -r 5981ad8547f5 plugins/python/python.py --- a/plugins/python/python.py Mon Oct 26 11:20:16 2009 +0100 +++ b/plugins/python/python.py Tue Oct 27 16:24:15 2009 +0100 @@ -174,7 +174,7 @@ text += self.PythonCode.generateXMLText("Python", 0, extras) xmlfile = open(filepath,"w") - xmlfile.write(text) + xmlfile.write(text.encode("utf-8")) xmlfile.close() self.PythonBuffer.CurrentSaved()