From bfecad04b59ee60afe9127a838e5dda7cc6d8eb0 Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Fri, 26 Dec 2008 14:29:45 +0100 Subject: [PATCH] [FIX] encoding problems lp bug: https://launchpad.net/bugs/311159 fixed bzr revid: christophe@taupe-20081226132945-z366jn2es0mms9ul --- bin/report/interface.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/report/interface.py b/bin/report/interface.py index da94535498e..99b5860c3e0 100644 --- a/bin/report/interface.py +++ b/bin/report/interface.py @@ -86,6 +86,7 @@ class report_rml(report_int): def create(self, cr, uid, ids, datas, context): xml = self.create_xml(cr, uid, ids, datas, context) + xml = tools.ustr(xml).encode('utf8') if datas.get('report_type', 'pdf') == 'raw': return xml rml = self.create_rml(cr, xml, uid, context)