Commit 889e7f5f authored by Romain Courteaud's avatar Romain Courteaud Committed by Rafael Monnerat

All ERP5 API should manage UTF-8, not unicode.

parent b97a651f
...@@ -16,7 +16,7 @@ except ValueError: ...@@ -16,7 +16,7 @@ except ValueError:
return return
preference.setTitle(translateString('Preference for ${name}', preference.setTitle(translateString('Preference for ${name}',
mapping=dict(name=context.getTitle().decode('utf-8')))) mapping=dict(name=context.getTitle())))
for assignment in context.contentValues(portal_type='Assignment'): for assignment in context.contentValues(portal_type='Assignment'):
group = assignment.getGroup(base=True) group = assignment.getGroup(base=True)
......
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