Convert sxw to rml error

794 Views Asked by At

When I try to convert sxw file to rml file using OpenOffice , this error occurs :

Exception: 'asci' codec can't encode character u'\xe9'

what's the meaning of that error? and how can I fix it?

2

There are 2 best solutions below

3
On

please check this link UnicodeEncodeError when trying to convert Django models to XML This is the same issue that we got here. You can use yourfield.encode("utf-8") or use format() in openerp. [[format(obj.your_str_field or '')]]

0
On

We have Similar issues posted on lp: https://bugs.launchpad.net/openobject-server/+bug/956798 and it has been fixed on linked branch you can take the patch apply, which will make your report to tolerate the Unicode encoding.

Thank You