dabo Commit
Revision 6084
Date: 2010-10-07 07:32:37 -0700 (Thu, 07 Oct 2010)
Author: Paul
Trac: http://trac.dabodev.com/changeset/6084
Changed:
U trunk/ide/ReportDesigner.py
Log:
Encode the rfxml using utf-8 unconditionally.
Diff:
Modified: trunk/ide/ReportDesigner.py
===================================================================
--- trunk/ide/ReportDesigner.py 2010-10-07 00:01:12 UTC (rev 6083)
+++ trunk/ide/ReportDesigner.py 2010-10-07 14:32:37 UTC (rev 6084)
@@ -2032,7 +2032,7 @@
return False
self._fileName = fileSpec
xml = self._rw._getXMLFromForm(self._rw.ReportForm)
- file(fileSpec, "wb").write(xml.encode(dabo.getEncoding()))
+ file(fileSpec, "wb").write(xml.encode("utf-8"))
self._rw._setMemento()
self.setCaption()
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message:
http://leafe.com/archives/byMID/[email protected]