🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #86752

Re: Unicode in USENET article headers

#86752
From: Michael Baeuerle
Date: Thu, 07 May 2015 17:32
47 lines
3246 bytes
Russ Allbery wrote:
> Michael Baeuerle <michael.baeuerle@stz-e.de> writes:
> > 
> > Potential problems:
> 
> One of the big ones that you didn't mention, but which was the overriding
> concern when this came up in the USEFOR working group, is that you pretty
> thoroughly break compatibility with mail.  This in turn causes practical
> problems for merged mail and news clients, such as Thunderbird.

Yes, this point is really missing.
 
> I think there have been some proposals for accepting Unicode headers in
> mail without using RFC 2047 encoding, but I admit to having stopped paying
> attention and don't know if any of them ever achieved any traction.

Here is a proposed standard for mail headers:
<https://tools.ietf.org/html/rfc6532>

It's very permissive and allow Unicode in atoms, comments, quoted
strings and domains. It's near what I have named S1.

- Header field names must be US-ASCII
- Normalization is not mandatory, but recommended (following RFC5198)
- RFC2047 transfer encoding is not recommended, but allowed

Assuming we want to use this for USENET too, the Message-ID is the first
what come to mind. It is allowed to create Unicode Message-IDs, but no
normalization is mandatory. This allows users to create canonically
equivalent Message-IDs and transmit them to the network. If other users
e.g. insert them into their "References" field and apply the recommended
normalization to the header, entries may disappear and become replaced
with equivalent ones.
If NNTP protocol data follows RFC5198, some IDs may become hidden or
mapped to others.
The example with the broken disk-cache can occur with it too.


IMHO the main flaw ist the normalization. It should be either mandatory
or forbidden. With the definition as SHOULD, nobody can rely on it *and*
there is no option to define canonically equivalent identifiers as
distinct.


Looking at mail/news compatibility:
Because RFC6532 allows nearly everything, it looks hard to invent
something for news that would not be a valid subset of it.
Technical Details
Message-ID: <AABVS5JbbPYAABwE.A1.flnews@WStation3.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.nntp.20150601.mbox.gz!border2.nntp.dca1.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!feeder.erje.net!1.eu.feeder.erje.net!news-1.dfn.de!news.dfn.de!news.informatik.hu-berlin.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <AABVSz44XaQAABwE.A1.flnews@WStation3.stz-e.de> <87h9ros8t3.fsf@hope.eyrie.org>

Show Full Headers
Complete Article Headers
Message-ID: <AABVS5JbbPYAABwE.A1.flnews@WStation3.stz-e.de>
Subject: Re: Unicode in USENET article headers
Date: Thu, 07 May 2015 17:32:00 +0000
From: Michael Baeuerle <michael.baeuerle@stz-e.de>
References: <AABVSz44XaQAABwE.A1.flnews@WStation3.stz-e.de> <87h9ros8t3.fsf@hope.eyrie.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20150601.mbox.gz!border2.nntp.dca1.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!feeder.erje.net!1.eu.feeder.erje.net!news-1.dfn.de!news.dfn.de!news.informatik.hu-berlin.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.nntp
Lines: 47
Reply-To: Michael Baeuerle <michael.baeuerle@gmx.net>
Mime-Version: 1.0
X-Trace: individual.net ZM/PdlL+c2ZQoRXO36mu6g5zCN6UMFOcVGTk+asdawLUjg5pHP
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:SMsw5WguVjopXKIGkmcYS0Xt0XI=
 sha1:m0ppmKUt45Okox4IFtO5eu272Jw=
Injection-Date: 7 May 2015 17:32:00 -0000
User-Agent: flnews/0.11pre16 (for GNU/Linux)