=== modified file 'bin/report/report_sxw.py' --- bin/report/report_sxw.py 2010-07-05 10:01:52 +0000 +++ bin/report/report_sxw.py 2010-10-18 12:52:00 +0000 @@ -289,7 +289,10 @@ if len(source_string): translated_string = transl_obj._get_source(self.cr, self.uid, self.name, 'rml', lang, source_string) if translated_string: - piece_list[pn] = piece_list[pn].replace(source_string, translated_string) + try: + piece_list[pn]= piece_list[pn].replace(source_string,translated_string) + except Exception,e: + piece_list[pn]= piece_list[pn].replace(source_string,translated_string.encode('utf8')) text = ''.join(piece_list) return text