🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #260604

Re: Do we really need mime-version, content-type, and content-transfer-encoding headers?

#260604
From: Adam H. Kerman
Date: Fri, 08 Jul 2016 13:55
80 lines
5181 bytes
michael.baeuerle@gmx.net wrote:
>Adam H. Kerman wrote:
>>michael.baeuerle@gmx.net wrote:

>>>[...]
>>>In the case of my article, the field "MIME-Version" is required not
>>>only for general MIME compliance, but also to switch the semantics of
>>>header fields, so that the encoded-words according to RFC2047 [4] are
>>>valid. Your newsreader seems to be not MIME conformant and the intended
>>>behaviour in [4] is to present 'encoded-word' as 'atom' tokens to the
>>>parser of such software (so that the message format conforms at least
>>>syntactically to RFC822 or RFC850 respectively). . . . 

>>Nah. Your article was passed along to MIME tools, but I overrode and didn't
>>decode, a deliberate choice on my part so I wouldn't have to send a
>>non-ASCII character and add a MIME header. I could have just left your
>>email address in attribution as I did in this followup.

>IMHO the better choice than using the undecoded 'display-name' token.

>>trn 4 just expects the user to write modification to the script to any
>>required headers. If I must add MIME headers, it's manual as I didn't
>>bother with the script modifications.

>In the german hierarchy I currently see a trn 4 that fails to handle
>Unicode based MIME - but is able to quote ISO 8859-1 based MIME articles
>correctly.

That's nothing to do with trn 4. That's the way his environment variables
are set in his text editor and how his terminal emulation is set to
translate and display the character codes it receives. In any event,
as I've noted, trn 4 expects the user to supply the correct MIME headers
to identify the character set in use.

trn 4 passes along the characters it receives to other processes for
display. Nothing is built in.

>flnews is using Unicode internally, but try to label posted content as
>ISO 8859-1 if possible for backward compatibility. This is also
>recommended by RFC2046 [1] (last paragraph):

>| In general, composition software should always use the "lowest common
>| denominator" character set possible. [...]

>_________________
>[1] https://tools.ietf.org/html/rfc2046#section-4.1.2

Um, I certainly believe in lowest common denominator character sets,
but the character codes for non-ASCII characters have to be 8 bit and
not UTF-8 as it's an either/or thing.

It's also my philosophy to avoid open and close single and double quotes,
which any number of people post with in lieu of ASCII single and double quote.
They tend to be the only non-ASCII characters in the message or article.
It's plain text, not typesetting.

I've always pointed out that the various ambiguous ASCII characters are
understood through context and that some of them were also used as
diacritical marks. The teletypewriter was intended to be instructed to
perform backspace/overstrike to use them. Yes, I realize that teletypewriter
terminals are uncommon today.

UTF has attempted to avoid ambiguous characters, but I've seen no
shortage of people fail to distinguish between apostrophe and single
close quote, as an example. Looking things up for the purpose of
this discussion, I found a note that UTF uses the same code for
diaresis and umlaut!

Diacritical marks available in ASCII included various accents (acute
and grave), circumflex, and tilde. As pointed out elsewhere, English
uses the diaeresis on occassion, but this wasn't available in ASCII.

With a 7-bit character set, it was hardly comprehensive, but those who
criticized ASCII over the years for being unable to accomodate words
from other European languages that use the Latin alphabet that require
diacritical marks were wrong. Under certain circumstances, yes, a limited
number of diacritical marks were available.

It was a major improvement over the limitations of Baudot code and
other five-bit codes in use for telegraphy.
Technical Details
Message-ID: <nlobd6$eij$1@news.albasani.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
References: <nli1e8$hi6$1@news.mixmin.net> <AABXfqRQKo8AAEas.A1.flnews@WStation4.micha.freeshell.org> <nlmes8$oo3$2@news.albasani.net> <AABXf2MrD54AAAfO.A1.flnews@WStation5.stz-e.de>

Show Full Headers
Complete Article Headers
Message-ID: <nlobd6$eij$1@news.albasani.net>
Subject: Re: Do we really need mime-version, content-type, and content-transfer-encoding headers?
Date: Fri, 08 Jul 2016 13:55:51 +0000
From: "Adam H. Kerman" <ahk@chinet.com>
References: <nli1e8$hi6$1@news.mixmin.net> <AABXfqRQKo8AAEas.A1.flnews@WStation4.micha.freeshell.org> <nlmes8$oo3$2@news.albasani.net> <AABXf2MrD54AAAfO.A1.flnews@WStation5.stz-e.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
Newsgroups: news.software.readers
Organization: albasani.net
Lines: 80
X-Trace: news.albasani.net 8RjrZftXKJ59iND0Y9trPa4iaX2w8i06MmuNtYA6v0A7aOGmexRNnvPBINFW0qu0PrAoCde8HCBe9UoH5ATOzqMsyoJWbwy9/Htr6GbcTAjm399R2qFWoLVPp6xCHPIE
NNTP-Posting-Date: Fri, 8 Jul 2016 13:55:51 +0000 (UTC)
Injection-Info: news.albasani.net; logging-data="8lymKKux8YdQAXFNUbXqXjegtWBwGwj99jzQl8OrkY2NicuhfcC4hoEazwMK9l6/QfnPARbVCM2h1Z8AdIpR1qwJHsQqxP6OSFAV/fdtEadaoIS2iyWQ3vkLoC1tZKz5"; mail-complaints-to="abuse@albasani.net"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Cancel-Lock: sha1:jqNfNEiMSIRkAOB9+tAI4doQyfg=
X-Received-Body-CRC: 2663845984
X-Received-Bytes: 5141