>> On Thu, 25 Nov 1999 04:02:12 -0600 (CST), 
>> Masuo Gates <[EMAIL PROTECTED]> said:

M> Hello, Is there a patch to automatically decode quoted-printable and
M> remove the:
M> Content-Transfer-Encoding: quoted-printable
M> header?

   I don't know about a patch, but this Perl script does the trick for me.
   Fair warning: I've only tried it on English text.

-- 
Karl Vogel
ASC/YCOA, Wright-Patterson AFB, OH 45433, USA
[EMAIL PROTECTED]  or  [EMAIL PROTECTED]

---------------------------------------------------------------------------
#!/usr/local/bin/perl
# decode quoted-printable crap from mailing lists.

use MIME::Decoder;

$decoder = new MIME::Decoder 'quoted-printable' or die "unsupported";
$decoder->decode(\*STDIN, \*STDOUT);

exit (0);

Reply via email to