diff --git a/product/ERP5Form/ListBox.py b/product/ERP5Form/ListBox.py
index 3c1a58950946a8daf0bc859096e132d1e0613b1e..e724c45aa1f67cdd08351da8380a6c2d33080156 100644
--- a/product/ERP5Form/ListBox.py
+++ b/product/ERP5Form/ListBox.py
@@ -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))