diff -r ef7fc6fd1f6f -r ca07a88ee68a plugins/python/python.py --- a/plugins/python/python.py Wed Oct 28 11:38:23 2009 +0100 +++ b/plugins/python/python.py Wed Oct 28 11:42:47 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()