Commit 265ec50a authored by Yoshinori Okuji's avatar Yoshinori Okuji

Make sure that the title is not UTF-8.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1910 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 401104ba
......@@ -457,6 +457,9 @@ class ListBoxWidget(Widget.Widget):
object_list = []
translate = portal_object.translation_service.translate
# Make sure that the title is not UTF-8.
field_title = unicode(field_title, 'utf-8')
# Make sure that columns are not UTF-8.
columns = [(str(cname[0]), unicode(cname[1], 'utf-8')) for cname in columns]
......
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