summaryrefslogtreecommitdiff
path: root/Mailman/Gui/GUIBase.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mailman/Gui/GUIBase.py')
-rw-r--r--Mailman/Gui/GUIBase.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Mailman/Gui/GUIBase.py b/Mailman/Gui/GUIBase.py
index e12ac5984..3bb558dce 100644
--- a/Mailman/Gui/GUIBase.py
+++ b/Mailman/Gui/GUIBase.py
@@ -42,8 +42,9 @@ class GUIBase:
# Let ValueErrors propagate
return int(val)
# String and Text widgets both just return their values verbatim
+ # but convert into unicode (for 2.2)
if wtype in (Defaults.String, Defaults.Text):
- return val
+ return unicode(val, Utils.GetCharSet(mlist.preferred_language))
# This widget contains a single email address
if wtype == Defaults.Email:
# BAW: We must allow blank values otherwise reply_to_address can't