diff options
Diffstat (limited to 'Mailman/Archiver/HyperArch.py')
-rw-r--r-- | Mailman/Archiver/HyperArch.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Mailman/Archiver/HyperArch.py b/Mailman/Archiver/HyperArch.py index 98fb5738..de02da8a 100644 --- a/Mailman/Archiver/HyperArch.py +++ b/Mailman/Archiver/HyperArch.py @@ -258,6 +258,9 @@ class Article(pipermail.Article): self.cenc = cenc.lower() self.decoded = {} charset = message.get_param('charset') + if isinstance(charset, types.TupleType): + # An RFC 2231 charset + charset = unicode(charset[2], charset[0]) if charset: charset = charset.lower().strip() if charset[0]=='"' and charset[-1]=='"': |