Decoding 'funky' e-mail subjects

Paul Rubin http
Tue Jun 8 02:20:02 CEST 2004

"Jonas Galvez" <jg at> writes:
> Thanks, that works. The problem is that I need to make it compatible
> with Python 1.5.2. I improved my regex-based method and it has worked
> fine with all my test cases so far. But if anyone has any other
> suggestion, I'm still interested. Anyway, here's my code:

A lot of those funny subjects come from spammers.  Never eval anything
from anyone like that!!!

More information about the Python-list mailing list