Commit d912a33e authored by Sebastien Robin's avatar Sebastien Robin

fixed unicode issues when there is non ascii characters in person names

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39143 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6df17404
......@@ -2,10 +2,7 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
......@@ -70,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())))\n
mapping=dict(name=context.getTitle().decode(\'utf-8\'))))\n
\n
for assignment in context.contentValues(portal_type=\'Assignment\'):\n
group = assignment.getGroup(base=True)\n
......
882
\ No newline at end of file
883
\ No newline at end of file
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