[Spambayes] It gets funnier all the time....

Skip Montanaro skip at pobox.com
Wed Feb 12 17:00:14 EST 2003


    Bill> The problem in detecting an un-marked base64 is that the base64
    Bill> itself is pretty much indistingushable from one-word-per-line
    Bill> text.

True enough, and in that case, the try-to-fix-broken-base64 function just
returns the input text.  No harm, no foul.  The performance penalty should
be reasonable.  One split() and length check for each part in the common
case.  The try-to-fix function is only called if it's long enough, which
should be rare.

Skip




More information about the Spambayes mailing list