summaryrefslogtreecommitdiff
path: root/Mailman/Cgi/private.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mailman/Cgi/private.py')
-rw-r--r--Mailman/Cgi/private.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Mailman/Cgi/private.py b/Mailman/Cgi/private.py
index 78a6cd794..444d2ee11 100644
--- a/Mailman/Cgi/private.py
+++ b/Mailman/Cgi/private.py
@@ -128,7 +128,8 @@ def main():
if not is_auth:
# Output the password form
- print 'Content-type: text/html; charset=' + Utils.GetCharSet() + '\n\n'
+ charset = Utils.GetCharSet(mlist.preferred_language)
+ print 'Content-type: text/html; charset=' + charset + '\n\n'
while path and path[0] == '/':
path=path[1:] # Remove leading /'s
basepath = os.path.split(mlist.GetBaseArchiveURL())[0]