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