🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #81846

Re:  You can assume the NNTP header is UTF-8 encoded.

#81846
From: Michael Moroney
Date: Thu, 27 Aug 2009 19:26
32 lines
3108 bytes
Russ Allbery <rra@stanford.edu> writes:

>_@Jeff_Relf.Seattle.inValid writes:

>> You can assume the NNTP header is UTF-8 encoded; so I wouldn't use
>> Encoded.Words.

>You're required to use encoded words by the relevant standards, which
>means that if you don't do it, your articles will display improperly or be
>unreadable with some news software.  It's not uncommon to ignore this and
>have local conventions for things like From and Subject, but then the
>client software has to know those local standards to display the message
>properly.

>BTW, the term "NNTP header" isn't particularly meaningful.  I'm assuming
>that you're talking about the article header, but the format of the
>article is not governed by the NNTP protocol at all.  NNTP can transport
>various different types of articles and only requires a vague similarity
>to the mail message format, but NNTP also doesn't give you enough semantic
>definition to perform even basic tasks like figuring out which group an
>article is intended for.  That's all handled at the article format and
>netnews protocol level, not at the NNTP level.

Good luck convincing Jeff of any of that.  He thinks the NNTP spec (RFC
3977) is the Usenet article spec (saying the actual Usenet article specs
are either too old or not official RFCs), thinks the default character set
part is the Word of God and poo-poos such things as this part of Section
3.6 (A message-id MUST NOT contain octets other than printable US-ASCII
characters) or 10.2 saying 8 bit characters should not be used in headers
without RFC 2047 encoding, or parts saying not to use NULs in data, or
not to use U+FEFF, etc. etc.
Technical Details
Message-ID: <h76mlq$crf$1@pcls4.std.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!feeder.news-service.com!colt.net!newspump.monmouth.com!newspeer.monmouth.com!newsswitch.lcs.mit.edu!nntp.TheWorld.com!not-for-mail
References: <_@Jeff_Relf.Seattle.2009_Aug26.4.03pm.lY> <87tyzu1856.fsf@windlord.stanford.edu> <·@Jeff_Relf.Seattle.2009·Aug26.5.16pm.0G> <_@Jeff_Relf.Seattle.2009_Aug26.5.48pm.MR> <87hbvuysid.fsf@windlord.stanford.edu> <h758ta$p0g$1@news.trigofacile.com> <_@Jeff_Relf.Seattle.2009_Aug27.8.48am.6l> <87iqg9cibo.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <h76mlq$crf$1@pcls4.std.com>
Subject: Re:  You can assume the NNTP header is UTF-8 encoded.
Date: Thu, 27 Aug 2009 19:26:50 +0000
From: moroney@world.std.spaamtrap.com (Michael Moroney)
References: <_@Jeff_Relf.Seattle.2009_Aug26.4.03pm.lY> <87tyzu1856.fsf@windlord.stanford.edu> <·@Jeff_Relf.Seattle.2009·Aug26.5.16pm.0G> <_@Jeff_Relf.Seattle.2009_Aug26.5.48pm.MR> <87hbvuysid.fsf@windlord.stanford.edu> <h758ta$p0g$1@news.trigofacile.com> <_@Jeff_Relf.Seattle.2009_Aug27.8.48am.6l> <87iqg9cibo.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!feeder.news-service.com!colt.net!newspump.monmouth.com!newspeer.monmouth.com!newsswitch.lcs.mit.edu!nntp.TheWorld.com!not-for-mail
Newsgroups: news.software.nntp
Organization: The World : www.TheWorld.com : Since 1989
Lines: 32
NNTP-Posting-Host: shell01.theworld.com
X-Trace: pcls4.std.com 1251401210 13167 192.74.137.71 (27 Aug 2009 19:26:50
 GMT)
X-Complaints-To: abuse@TheWorld.com
NNTP-Posting-Date: Thu, 27 Aug 2009 19:26:50 +0000 (UTC)
User-Agent: nn/6.6.5
X-Original-Bytes: 2844