[Mailman-Developers] CTE "base64" due to UTF-8?

Brad Knowles brad.knowles at skynet.be
Thu Jul 22 10:19:07 CEST 2004


At 12:40 PM +0900 2004-07-22, Stephen J. Turnbull wrote:

>  So choosing intelligently would involve a count of the entire part to
>  be encoded.  Yuck.

	Which is not far from what is done by sendmail when deciding to 
convert 8bit to either QP or Base64.  It doesn't look at the entire 
bodypart, but it does look at a good-size chunk of the first part, 
and compare how many characters have the high bit set versus those 
that don't.

	If only a very few characters have the high bit set, then it 
chooses QP.  If many of the characters have the high bit set, then it 
chooses Base64.


	I'm still not convinced that Mailman is actually doing the 
conversion here, but there are ways to try to address this subject.

	As is typical for most open-source projects, patches are welcomed.

-- 
Brad Knowles, <brad.knowles at skynet.be>

"Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety."

     -- Benjamin Franklin (1706-1790), reply of the Pennsylvania
     Assembly to the Governor, November 11, 1755

   SAGE member since 1995.  See <http://www.sage.org/> for more info.


More information about the Mailman-Developers mailing list