From a1072bed43b4612a810b9ac3dc5cb190ee487e1d Mon Sep 17 00:00:00 2001 From: "Jay (Open ERP)" Date: Fri, 1 May 2009 12:38:28 +0530 Subject: [PATCH] [FIX] Bug 364835 : corrected non-enlgish character problem for parsing report(ref:Ferdinand) bzr revid: jvo@tinyerp.com-20090501070828-rz7h97sk1a6vnqol --- bin/report/print_xml.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/report/print_xml.py b/bin/report/print_xml.py index cceecd14c33..03d22a70e18 100644 --- a/bin/report/print_xml.py +++ b/bin/report/print_xml.py @@ -262,7 +262,8 @@ class document(object): if not isinstance(datas[atr['value']], (str, unicode)): txt = self.doc.createTextNode(str(datas[atr['value']])) else: - txt = self.doc.createTextNode(datas[atr['value']].decode('utf-8')) +# txt = self.doc.createTextNode(datas[atr['value']].decode('utf-8')) + txt = self.doc.createTextNode(datas[atr['value']]) el.appendChild(txt) else: el_cld = node.firstChild