aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Archiver
diff options
context:
space:
mode:
authortkikuchi <>2005-04-21 04:13:12 +0000
committertkikuchi <>2005-04-21 04:13:12 +0000
commit1700beb5b77dbc501c878daae05ca60e9650fcca (patch)
treeb609866edc925bb53c5dea51fef83e95a2a70da6 /Mailman/Archiver
parent3ae894624b50026dc3ed53c311a5b48da1d1a260 (diff)
downloadmailman2-1700beb5b77dbc501c878daae05ca60e9650fcca.tar.gz
mailman2-1700beb5b77dbc501c878daae05ca60e9650fcca.tar.xz
mailman2-1700beb5b77dbc501c878daae05ca60e9650fcca.zip
RFC2231 charset is in email package.
Diffstat (limited to 'Mailman/Archiver')
-rw-r--r--Mailman/Archiver/HyperArch.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/Mailman/Archiver/HyperArch.py b/Mailman/Archiver/HyperArch.py
index f2ea2453..5a37adad 100644
--- a/Mailman/Archiver/HyperArch.py
+++ b/Mailman/Archiver/HyperArch.py
@@ -291,10 +291,7 @@ class Article(pipermail.Article):
self.decoded = {}
cset = Utils.GetCharSet(mlist.preferred_language)
cset_out = Charset(cset).output_charset or cset
- charset = message.get_param('charset', cset_out)
- if isinstance(charset, types.TupleType):
- # An RFC 2231 charset
- charset = unicode(charset[2], charset[0])
+ charset = message.get_content_charset(cset_out)
if charset:
charset = charset.lower().strip()
if charset[0]=='"' and charset[-1]=='"':