Commit 21aedb88 authored by Romain Courteaud's avatar Romain Courteaud Committed by Rafael Monnerat

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

parent 2b44ca25
......@@ -67,7 +67,7 @@ preference = portal.portal_preferences.createPreferenceForUser(\n
context.getReference(), enable=True)\n
\n
preference.setTitle(translateString(\'Preference for ${name}\',\n
mapping=dict(name=context.getTitle().decode(\'utf-8\'))))\n
mapping=dict(name=context.getTitle())))\n
\n
for assignment in context.contentValues(portal_type=\'Assignment\'):\n
group = assignment.getGroup(base=True)\n
......
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