From 1700beb5b77dbc501c878daae05ca60e9650fcca Mon Sep 17 00:00:00 2001 From: tkikuchi <> Date: Thu, 21 Apr 2005 04:13:12 +0000 Subject: RFC2231 charset is in email package. --- Mailman/Archiver/HyperArch.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'Mailman/Archiver') 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]=='"': -- cgit v1.2.3