[Melbourne-pm] Decoding =?ISO-8859-1...
rick at measham.id.au
Sun Jul 20 06:02:31 PDT 2008
Nathan Bailey wrote:
> I know this should be trivial, but for some reason, I can't change:
> =?ISO-8859-1?B?MEY1NzYzMSAwNy8xNi8yMDA4?= =?ISO-8859-1?B?IDE1OjMz?=
> into "Scanned from MFP-00F57631 07/16/2008 15:33"
> I've tried just decoding ISO-8859-1, I've tried decoding and re-encoding
> as utf8, and I've even tried Unicode::String, but I still seem to end up
> with the same input as output.
You want MIME::Words from CPAN
perl -MMIME::Words -wle 'print scalar
# Scanned from MFP-00F57631 07/16/2008 15:33
Message protected for iSite by MailGuard: e-mail anti-virus, anti-spam and content filtering.
More information about the Melbourne-pm