Message122773
Currently using the following workaround.
import re
import email.header
def decodeSafely(x):
match = re.search('(=\?.*?\?B\?)', x)
if not match:
return x
encoding = match.group(1)
return email.header.decode_header('%s%s==?=' % (encoding, x.replace(encoding, '').replace('?', '').replace('=', ''))) |
|
Date |
User |
Action |
Args |
2010-11-29 05:12:29 | invisibleroads | set | recipients:
+ invisibleroads |
2010-11-29 05:12:29 | invisibleroads | set | messageid: <1291007549.31.0.430176835889.issue10574@psf.upfronthosting.co.za> |
2010-11-29 05:12:24 | invisibleroads | link | issue10574 messages |
2010-11-29 05:12:24 | invisibleroads | create | |
|