Gmail eats Python

Jussi Piitulainen jpiitula at
Sun Jul 26 07:37:14 CEST 2015

Steven D'Aprano writes:

> On Sun, 26 Jul 2015 03:47 am, Jussi Piitulainen wrote:
>> Just in case anyone cares, Gnus shows me those indentations as octal
>> codes, \302\240\302\240 (followed by one ASCII space). I guess a
>> \302\240 is a NO-BREAK SPACE in UTF-8, and I guess Gnus does not know
>> this because there is no charset specification in the headers. That
>> seems to be missing whenever I see these codes instead of properly
>> rendered characters and bother to check the headers.
> Some of us care :-)

Thank you.

> On the other hand, your post sent from Gnus is lying. Despite
> containing non-ASCII bytes (i.e. octal \302\240), it sends these
> headers:
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 8bit
> US-ASCII is 7-bit only and only defines values for ord \0 through \177
> in octal.

Yes. Gnus made me go through a dialogue to send the message, and I
didn't understand what all the options meant. So I probably told it to
lie. My bad.

More information about the Python-list mailing list