diff options
| author | Olivier Dony <odo@openerp.com> | 2011-01-17 19:44:44 +0100 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2011-01-17 19:44:44 +0100 |
| commit | 3d4d87b718b019af6340827a00aa4e08e3ec924f (patch) | |
| tree | df52e887e145237bb509cb8404250c3c966e0602 /addons/base_graph/static/lib/dhtmlxGraph/codebase | |
| parent | 6cd9f649737777e47f193c04491fc382f7885ba9 (diff) | |
[FIX] report.interface: toxml() should return unicode to avoid any encoding issue propagation
It used to return utf-8 data but was brittle in the conversion, and would fail downstream
if the calling code did not pay attention to handle utf-8 data properly.
Returning unicode forces callers to auto-cast to unicode for any string operation, saving
potential trouble later.
From the addons that currently call toxml(), none use it in a manner that would fail in case
unicode data is returned, so we should be on the safe side there too.
lp bug: https://launchpad.net/bugs/695960 fixed
bzr revid: odo@openerp.com-20110117184444-mxjeneuoa0r5a85n
Diffstat (limited to 'addons/base_graph/static/lib/dhtmlxGraph/codebase')
0 files changed, 0 insertions, 0 deletions
