diff -r 1a5471e81a93 -r 5981ad8547f5 plugger.py --- a/plugger.py Mon Oct 26 11:20:16 2009 +0100 +++ b/plugger.py Tue Oct 27 16:24:15 2009 +0100 @@ -202,14 +202,14 @@ if self.MandatoryParams: BaseXMLFile = open(self.PluginBaseXmlFilePath(),'w') BaseXMLFile.write("\n") - BaseXMLFile.write(self.MandatoryParams[1].generateXMLText(self.MandatoryParams[0], 0)) + BaseXMLFile.write(self.MandatoryParams[1].generateXMLText(self.MandatoryParams[0], 0).encode("utf-8")) BaseXMLFile.close() # generate XML for XML parameters controller of the plugin if self.PlugParams: XMLFile = open(self.PluginXmlFilePath(),'w') XMLFile.write("\n") - XMLFile.write(self.PlugParams[1].generateXMLText(self.PlugParams[0], 0)) + XMLFile.write(self.PlugParams[1].generateXMLText(self.PlugParams[0], 0).encode("utf-8")) XMLFile.close() # Call the plugin specific OnPlugSave method