Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSimon Schampijer <simon@schampijer.de>2008-07-03 14:10:49 (GMT)
committer Simon Schampijer <simon@schampijer.de>2008-07-03 14:10:49 (GMT)
commit467676e2e3dbbb2dce445b6650be99c780f5df56 (patch)
tree2b2e8a637e5deddf04547a94a44f9c407e9e2825 /src
parentf3bc8bb95062af98297ddf2f44418bc55ba2242e (diff)
Support to set non ascii nick names in cp #5613
This is needed to allow non ascii character input from the command line interface of the control panel
Diffstat (limited to 'src')
-rw-r--r--src/controlpanel/model/aboutme.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controlpanel/model/aboutme.py b/src/controlpanel/model/aboutme.py
index 3804c1b..c3d1a5e 100644
--- a/src/controlpanel/model/aboutme.py
+++ b/src/controlpanel/model/aboutme.py
@@ -43,7 +43,7 @@ def set_nick(nick):
if not nick:
raise ValueError(_("You must enter a name."))
pro = profile.get_profile()
- pro.nick_name = nick
+ pro.nick_name = unicode(nick, "utf-8")
pro.save()
return 1