SUMMARY: "quoted printable" to 8bit Ascii?

From: Bernt Christandl (
Date: Tue May 11 1999 - 01:28:06 CDT

Hello managers,

i'm very sorry for this late summary! (But at least here it is)

I've asked:
>every now and then and more often these days, i get mails as
>"quoted printable" (and i don't like it :(
>Just that i don't need to invent the wheel again:
>Is there a recommended way (free script?) to transfer those
>"quoted printable" mails back to locally available 8bit ascii?

As usual(?) my solution is to avoid the problem: i've changed from
SunOS 4.1.4 to Solaris 2.6 where i have CDE and that dtmail is far
better in dealing with those quoted-printable than the mailtool from

Other proposed solution were:

Martin Huber <>
sent me a small c-program to "re-translate" those 7-bit mails to 8-bit ones.
I include it as an attachment.
Thank you very much again Martin, this was exactly what i was asking for.

Renzo Toma <> wrote:
> Hi Bernt, hope you arent perl-shy:
> s/[ \t]+(\r?\n)/$1/g;
> s/=\r?\n//g;
> s/(=..)\r?\n/$1/g;
> s/=([\da-fA-F]{2})/pack("C", hex($1))/ge;
> just grabbed it out of a source, it expects $_ to contain the quoted data.
> Cheers!

which also sounds very interesting, but -i admit- i didn't try it yet...

Jochen Bern <bern@TI.Uni-Trier.DE>
sent me a detailed solution based on procmail.
But -again- i did not find time yet to grab it from the net and install it
here and "play" with it until it fits my wishes...
If someone is interested in his solution, i can forward Jochen's mail.

With regards,
Bernt Christandl email:

If you life in the Europian Union and you don't like spam then
support the petition:
    Vote against Spam!

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:19 CDT