🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #84410

--

#84410
From: Jeff-Relf.Me
Date: Mon, 13 Feb 2012 22:10
49 lines
3052 bytes
<PRE>
You ( Julien•ÉLIE ) asked me ( Jeff Relf ):

« In these mail/news readers
  [ Google Groups, Thunderbird, Outlook, Windows Live Mail, etc. ],
  what happens if you declare an ISO-8859-1 charset
  (applying for the body) and use a UTF-8 message-ID ? »

I don't know if they can do that, I doubt they can;
and I don't know if your server ( TrigoFacile.COM / Wanadoo.FR )
would allow it. [ does "Trigo Facile" mean "easy money" ? ]

The Message·ID would be a string of 8·bit bytes;
how it's displayed ( as UTF·8 or not ) is a trivial matter.

You asked me:

« How can it [ the "Content-Type: Text/HTML; charset=UTF-8" line ]
  define the charset of the headers if it appears after the 
  beginning of the headers ? »

The "Content-Type: Text/HTML; charset=UTF-8" line appears
·in· ( not after ) the header of the post.  The syntax is US·ASCII;
it's not just possible, it's a de facto standard*.
[ *: Google Groups, Thunderbird, Outlook, Windows Live Mail, etc. ]
UTF·8 is better than encoded words because it's human readable.

You told me:
« Do not forget to take into account that the NNTP protocol [ RFC 3977 ]
  currently does *not* allow the transit of articles whose message-ID
  is encoded in UTF-8. »

8·bit bytes are more unique than 7·bit bytes, so that was a bad idea;
and, in practice, only INN drops UTF·8 Message·IDs ( from peers ). 

As I said:

  Dropping a post with a UTF·8 Message·ID
  ( from peers, as ·only· INN does ) violates a core principle:

    Be liberal in what you accept, and conservative in what you send.

  In doing that, you guys ( Julien•ÉLIE, Steve•Crook and Russ•Allbery )
  set a bad example.

  For example, some popular INN servers
  ( e.g. "Eternal-September.ORG", Ray Banana )
  drop posts ( from peers ) just because the header contains the
  « Content-Type: Text/HTML; charset=UTF-8 » line.
Technical Details
Message-ID: <Jeff-Relf.Me@2012_Feb.13^2.10.pm>
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!border2.nntp.ams3.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!news.glorb.com!news-out.readnews.com!transit3.readnews.com!s09-10.readnews.com!not-for-mail
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>

Show Full Headers
Complete Article Headers
Message-ID: <Jeff-Relf.Me@2012_Feb.13^2.10.pm>
Subject: --
Date: Mon, 13 Feb 2012 22:10:10 +0000
From: Jeff-Relf.Me
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>
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!border2.nntp.ams3.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!news.glorb.com!news-out.readnews.com!transit3.readnews.com!s09-10.readnews.com!not-for-mail
Content-Type: Text/HTML; charset=UTF-8
Newsgroups: news.software.nntp,alt.free.newsservers
User-Agent: Jeff-Relf.Me/X.TXT
Lines: 49
NNTP-Posting-Host: 387b4577.blocknews.net
X-Trace: DXC=eVE3S4D>N[[9^`[f`OE?:YGTXUl?iR^P\<X<c6\A078R49D213?T\NPnI41_F0hjdVW4?V4]Ml_oT4\3K6AoEg`U[i4[LcUiI=U
X-Complaints-To: abuse@blocknews.net
X-Original-Bytes: 2979