Nuno Silva <nuno…@invalid.invalid> writes:
> On 2026-10-17, Richmond wrote: >
>> I went through looking at the source of messages which had content of >> text/plain. Surprisingly some came from iPhones, some from iPads, one >> even from Outlook. However "plain text" isn't quite plain, there were >> Mime headers, and some had quoted-printable, an equal sign followed by >> hex characters, e.g. =20 for space.
> > That's encoding for transfer, not actual type of the content. Unless you > are using "plain text" as a synonym for US ASCII, you probably need > this.
US ASCII would be a backward step I think. It ought to be UTF-8 and the Content-Transfer-Encoding: 8bit. But I see some servers still go back to 7 bit. I am not sure why I see that in message source if it is only used for transfer. Just to add to the confusion, some messages are PGP encoded, so they are not plain text, although they are encoded in 7 bits. Presumably all email which is E2EE (or to the server) is not actually travelling as plain text. But that doesn't matter, what comes out the end matters.
> > For that same reason, you likely want the version of Content-Type that > is a MIME header? Or was content encoding and charset standardized > before MIME? >
Clearly this is a can of worms.