Another message encoding test!
Das Signal
das.signal at freecalypso.org
Fri May 1 12:34:55 CEST 2015
Hi SF,
I believe I have found a satisfactory solution: now messages with non-ASCII content
will be converted to multipart MIME, but without base64 encoding. For instance I'm
going to use the UNICODE character 'GRINNING CAT FACE WITH SMILING EYES'
(U+1F638) and you should still be able to read the message: 😸
The trick was to remove both calls to get_content_charset() in Scrubber.py and
Decorate.py with 'us-ascii'. This leads to the message becoming multipart when
non-ASCII characters are found; otherwise it stays the same.
--DS
> Message du 01/05/15 00:40
> De : "Spacefalcon the Outlaw"
> A : community at freecalypso.org
> Copie à :
> Objet : Re: Another message encoding test!
>
> das.signal at freecalypso.org wrote:
>
> > The solution is easy, I'll stick to sending
> > mail using mutt instead and everything should be fine :)
>
> Yes, ASCII rules!
>
> The long-term solution would be to patch Mailman (or whatever other
> Python package it hands the work off to) to excise all non-ASCII
> characters from processed messages (replace them with '?' maybe) and
> only send 7-bit ASCII on the fanout under all circumstances - but that
> would probably be a lot of work...
>
> SF
> _______________________________________________
> Community mailing list
> Community at freecalypso.org
> https://www.freecalypso.org/mailman/listinfo/community
>
More information about the Community
mailing list