David was kind enough to supply me with the answer to this a while ago. It's
somewhere in the mailing archives, but all you have to do is the following:

my $SubjectDecode = decode_mimewords($Subject);

$SubjectDecode then contains the ASCII text. Despite kind people on this
mailing list explaining about the encoding, I still don't know exactly how
it works. However, the decode works just fine for me ;)

----- Original Message ----- 
From: "Dave Helton" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, February 21, 2004 9:15 PM
Subject: [Mimedefang] anyone parsing ISO-8859-1?blah?blah in subject?

_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to