Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Jussi Piitulainen Newsgroups: comp.lang.python Subject: Re: Gmail eats Python Date: Sun, 26 Jul 2015 08:37:14 +0300 Organization: A noiseless patient Spider Lines: 28 Message-ID: References: <201507251634.t6PGYUvo028820@fido.openend.se> <55b466f2$0$1674$c3e8da3$5496439d@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx02.eternal-september.org; posting-host="305c68510616a2e7ac08bcd2ff1598bd"; logging-data="2102"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19jgJNAobtZxWRXWxROM5QiLL8QNSa9t8E=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:yCDCElXqgh0kKkfFPRqengd33ks= sha1:KCjEKLDGpOQ6PC7Y29g8br2l8t8= Xref: csiph.com comp.lang.python:94595 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.