aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Mailman/Archiver/HyperArch.py5
-rw-r--r--NEWS3
2 files changed, 7 insertions, 1 deletions
diff --git a/Mailman/Archiver/HyperArch.py b/Mailman/Archiver/HyperArch.py
index ad51596e..a532c81e 100644
--- a/Mailman/Archiver/HyperArch.py
+++ b/Mailman/Archiver/HyperArch.py
@@ -1,4 +1,4 @@
-# Copyright (C) 1998-2008 by the Free Software Foundation, Inc.
+# Copyright (C) 1998-2009 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -302,6 +302,9 @@ class Article(pipermail.Article):
self.decoded = {}
cset = Utils.GetCharSet(mlist.preferred_language)
cset_out = Charset(cset).output_charset or cset
+ if isinstance(cset_out, unicode):
+ # email 3.0.1 (python 2.4) doesn't like unicode
+ cset_out = cset_out.encode('us-ascii')
charset = message.get_content_charset(cset_out)
if charset:
charset = charset.lower().strip()
diff --git a/NEWS b/NEWS
index a7c799a8..e9541711 100644
--- a/NEWS
+++ b/NEWS
@@ -87,6 +87,9 @@ Here is a history of user visible changes to Mailman.
- Changed Gui/Topics.py to validate regexps in VERBOSE mode. Bug #327008.
+ - Worked around a potential problem in HyperArch.py with unicode character
+ set arguments. Bug #328353.
+
i18n
- Updated Dutch, Catalan and Polish translations.