decode quoted printable and base64 with one command
The following message is a courtesy copy of an article
that has been posted to comp.mail.mime as well.
Gentlemen, I produce a spam report like this, which I hope to decode
into big5 Chinese:
F From: email@example.com
* Subject: =?ISO-8859-1?B?pnCm86azrsSqurlCpc6xeqq6rsm2oQ==?=
F From: firstname.lastname@example.org
* Subject: =?big5?Q?=A4=A3=AA=E1=BF=FA=A5u=AA=E1=B4X=A4=C0=AE=C9=B6=A1....?=
F From: Tup9CFC2@tpts6.seed.net.tw
* Subject: [raw big5 chinese]
If I were to run this page thru mmencode -q -u, I could then read the
middle item. The last item would probably not get harmed and still be
readable... but the first item requires mmencode -u on just inner part
of the line. I'm looking for one command that can process the all the
items at once.
To UNSUBSCRIBE, email to email@example.com
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org
| This message was re-posted from email@example.com
| and converted from big5 to gb2312 by an automatic gateway.