Commit c5aa3860 authored by Fabien Morin's avatar Fabien Morin

use encoding variable instead of hardcoded value


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29537 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 26f8b047
......@@ -2370,7 +2370,7 @@ class ListBoxHTMLRendererLine(ListBoxRendererLine):
# JPS-XXX - I think we should not display a URL for objects
# which do not have the View permission
if type(url) is str:
url = unicode(url.decode('utf-8'))
url = unicode(url, encoding)
html = u'<a href="%s">%s</a>' % (url, processed_value)
html_list.append((html, original_value, error, editable_field, url))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment