** Branch linked: lp:~c2c/openobject-
addons/6.0_report_webkit_utf8_support

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/696886

Title:
  [6.0] webkit report sample - UTF-8 error

Status in OpenERP Modules (addons):
  Confirmed

Bug description:
  Traceback (most recent call last):
    File 
"/home2/gass/OpenERP/trunk/openobject-server/bin/addons/report_webkit/webkit_report.py",
 line 285, in create_single_pdf
      **self.parser_instance.localcontext
    File "/usr/lib/python2.6/site-packages/mako/template.py", line 189, in 
render
      return runtime._render(self, self.callable_, args, data)
    File "/usr/lib/python2.6/site-packages/mako/runtime.py", line 403, in 
_render
      _render_context(template, callable_, context, *args, 
**_kwargs_for_callable(callable_, data))
    File "/usr/lib/python2.6/site-packages/mako/runtime.py", line 434, in 
_render_context
      _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
    File "/usr/lib/python2.6/site-packages/mako/runtime.py", line 457, in 
_exec_template
      callable_(context, *args, **kwargs)
    File "memory:0x68f5050", line 45, in render_body
      <tr><td>${inv.name}</td><td>${formatLang(inv.date_invoice, 
date=True)|entity}</td><td>&nbsp;</td></tr>
  UnicodeEncodeError: 'ascii' codec can't encode character u'\xf6' in position 
2: ordinal not in range(128)

  inv.name = "GKö 6.8 - 8.6"
  after changing to "GKoe 6.8 - 8.6" no more error

_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help   : https://help.launchpad.net/ListHelp

Reply via email to