Re: quoted-printable cleanup?

From: Steve Washam (sew@valint.net)
Date: Tue, 17 Mar 1998 06:07:34 -0800

keplicz@students.mimuw.edu.pl (Peter Keplicz):

>: Is there any way to run this against an individual message? I
>: don't want to batch process SOUP files. In fact, my incoming
>: mail never goes through SOUP format.
>
>I'm afraid you can't use it for an individual message. However, since
>you use uka_ppp, you can use a utility called (AFAIR) x_spool which
>will create SOUP packet for you. Then run Souplk, et voila.

That works. It's a bit of work for fixing existing messages
though, do to the various conversions needed to get the messages
back into a form x_spool will use.

I've re-discovered another "qotcha" of the quoted-printable
encoding. This is something I knew but forgot. That is while
Yarn does a fair job of presenting QP in most cases, when a
message is saved to a text file all the junk remains. It is
easy to do this and not realize at the time, because the display
in Yarn looks fine.

I discovered this just recently, that although I was seeing QP
junk in some posts, there were also a great many that Yarn had
been converting properly. I guess I only notice the problems...

I wonder if it can be determined which quoted-printable messages
Yarn has problems with. Does it just miss the header in certain
cases? I would like to find the variable here.

One easy way to clean up the file is to simply use the forward
function, which puts a decoded (usually) copy (sans most
headers) into the editor. You lose the original headers and the
easy append to file function going this route, but it is the
easiest.

Perhaps I will add Souplk to my import routine and at least
clean up the messages coming in.

Thanks Peter!

--
Steve Washam
sew@valint.net
http://www.valint.net/php/sew/