Article View: news.software.nntp
Article #84413Re: Julien•ÉLIE, Steve•Crook and Russ•Allbery have set a bad example.
From: Russ Allbery
Date: Tue, 14 Feb 2012 01:30
Date: Tue, 14 Feb 2012 01:30
51 lines
4264 bytes
4264 bytes
moroney@world.std.spaamtrap.com (Michael Moroney) writes:
> I noticed that ASCII "?" and "=" are valid characters in Message-IDs.
> Why not simply make RFC 2047 applicable to Message-IDs and add a section
> to the relevant specs that state something like the following:
> When displaying a Message-ID as text to a user, if any sequence of
> octets meet the definition of an 'encoded-word' according to RFC-2047,
> that sequence SHOULD be decoded according to RFC-2047 before displaying
> it to the user.
> If any Message-ID is to contain characters outside of US-ASCII, they
> MUST be encoded according to RFC-2047.
This, like any other mechanism for introducing UTF-8, creates the problem
that there are multiple ways of encoding the same message ID and the
change is therefore (a) not backward-compatible with existing servers
(messages that should be treated as duplicates won't be) and (b) slow.
It's even more obvious with RFC-2047 encoding, since there are both Q and
B encodings for the same string. (It also has the additional problem that
it's incompatible with RFC 5322, but let's leave that aside for right
now.)
You can possibly handwave around the duplicates concern by saying "well,
while there are multiple ways to encode the same message ID, software will
just pass it through so you won't encounter problems in practice," but
this breaks a bunch of assumptions around how Unicode processing is
supposed to be done in general and therefore violates least surprise.
It's also a dubious assertion when it comes to References processing,
where a user agent is going to move the Message-ID from one place to
another and then do its own header processing, which we know from past
experience with character set issues in other protocols quite frequently
ends up redoing encodings.
What you'd have to do in order to take any of these approaches safely
without introducing normalization would be to redefine message IDs as a
raw octet sequence rather than as characters with an encoding. We did
seriously discuss that approach to Unicode in USEFOR back in the day
(principally with the Newsgroups header field, which has similar issues,
rather than with Message-ID), since it has the advantage of being fairly
close to how most servers treat the field right now. But it has the huge
disadvantages of completely severing the compatible relationship between
the netnews article format and email (since email is never ever going to
embrace the idea of raw octet sequences) and being unlike how Unicode is
handled in basically every other Internet protocol.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<8739aeqjzl.fsf@windlord.stanford.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeder1.enfer-du-nord.net!news.glorb.com!usenet.stanford.edu!usenet-its.stanford.edu!not-for-mailReferences:
<slrnjikokv.3g8.steve@news.mixmin.net> <jhb1r2$fqd$1@news.trigofacile.com> <Jeff-Relf.Me@2012_Feb.13^11.35.am> <jhbr4j$ddu$1@news.trigofacile.com> <jhcb00$sks$1@pcls6.std.com>Show Full Headers
Complete Article Headers
Message-ID: <8739aeqjzl.fsf@windlord.stanford.edu> Subject: Re: Julien•ÉLIE, Steve•Crook and Russ•Allbery have set a bad example. Date: Mon, 13 Feb 2012 17:30:54 -0800 From: Russ Allbery <rra@stanford.edu> References: <slrnjikokv.3g8.steve@news.mixmin.net> <jhb1r2$fqd$1@news.trigofacile.com> <Jeff-Relf.Me@2012_Feb.13^11.35.am> <jhbr4j$ddu$1@news.trigofacile.com> <jhcb00$sks$1@pcls6.std.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeder1.enfer-du-nord.net!news.glorb.com!usenet.stanford.edu!usenet-its.stanford.edu!not-for-mail Newsgroups: news.software.nntp,alt.free.newsservers Organization: The Eyrie Lines: 51 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: usenet-its.stanford.edu 1329183055 32690 171.67.225.134 (14 Feb 2012 X-Complaints-To: news@usenet-its.stanford.edu User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) Cancel-Lock: sha1:vX0SFn/wnq99E+FyAitmpP9B+zU= X-Original-Bytes: 4045