🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
6 messages
6 total messages Started by Julien ÉLIE Thu, 27 Aug 2009 06:25
Re: null·bytes
#81689
Author: Julien ÉLIE
Date: Thu, 27 Aug 2009 06:25
45 lines
3189 bytes
Hi Russ,

>> As a test, the Message-ID of my previous post had a U+00B7 (in UTF-8):
>>   ·@Jeff_Relf.Seattle.2009·Aug26.5.16pm.0G

Emacs seems to have generated that:

References: <slrnh99sq6.bqe.steve@news.mixmin.net>
 <_@Jeff_Relf.Seattle.2009_Aug26.1.46pm.5X>
 <87ocq2479l.fsf@windlord.stanford.edu>
 <_@Jeff_Relf.Seattle.2009_Aug26.4.03pm.lY>
 <87tyzu1856.fsf@windlord.stanford.edu>
 =?utf-8?Q?=3C=C3=82=C2=B7=40Jeff=5FRelf=2ESeattle=2E2009=C3=82=C2=B7Aug26?=
 =?utf-8?Q?=2E5=2E16pm=2E0G=3E?=
 <_@Jeff_Relf.Seattle.2009_Aug26.5.48pm.MR>


And Windows Mail for my last article:

References: =?UTF-8?Q?=3Cslrnh99sq6.bqe.steve@news.mixmi?=
 =?UTF-8?Q?n.net=3E__=3C=5F@Jeff=5FRelf.Seattle.200?=
 =?UTF-8?Q?9=5FAug26.1.46pm.5X=3E__=3C87ocq2479l.?=
 =?UTF-8?Q?fsf@windlord.stanford.edu=3E__=3C=5F@J?=
 =?UTF-8?Q?eff=5FRelf.Seattle.2009=5FAug26.4.03?=
 =?UTF-8?Q?pm.lY=3E__=3C87tyzu1856.fsf@windlord?=
 =?UTF-8?Q?.stanford.edu=3E__=3C=C2=B7@Jeff=5FRelf.Sea?=
 =?UTF-8?Q?ttle.2009=C2=B7Aug26.5.16pm.0G=3E_=3C=5F@Je?=
 =?UTF-8?Q?ff=5FRelf.Seattle.2009=5FAug26.5.48p?=
 =?UTF-8?Q?m.MR=3E?=


Is it allowed to have MIME there?

   references      =   "References:" 1*msg-id CRLF
   msg-id          =   [CFWS] "<" id-left "@" id-right ">" [CFWS]
   id-left         =   dot-atom-text / obs-id-left


Threading is broken when displaying it...

-- 
Julien ÉLIE

« Medicorum nutrix est intemperantia. » 
--
#81693
Author: _
Date: Thu, 27 Aug 2009 15:48
14 lines
1490 bytes

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

When it comes to charset·encoding/decoding,
Windows Live Mail* is much better than Windows Mail.

*: “ wlMail.EXE  /newsonly ”, build 14
   www.downLoad.Live.COM/wlMail

Google Groups properly threaded your post, Julien,
thanks to your “In-Reply-To:” line.

For this post, I fixed your borked “References:” line.
Re: null·bytes
#81694
Author: Russ Allbery
Date: Thu, 27 Aug 2009 16:46
28 lines
2532 bytes
Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> writes:

> And Windows Mail for my last article:

> References: =?UTF-8?Q?=3Cslrnh99sq6.bqe.steve@news.mixmi?=
> =?UTF-8?Q?n.net=3E__=3C=5F@Jeff=5FRelf.Seattle.200?=
> =?UTF-8?Q?9=5FAug26.1.46pm.5X=3E__=3C87ocq2479l.?=
> =?UTF-8?Q?fsf@windlord.stanford.edu=3E__=3C=5F@J?=
> =?UTF-8?Q?eff=5FRelf.Seattle.2009=5FAug26.4.03?=
> =?UTF-8?Q?pm.lY=3E__=3C87tyzu1856.fsf@windlord?=
> =?UTF-8?Q?.stanford.edu=3E__=3C=C2=B7@Jeff=5FRelf.Sea?=
> =?UTF-8?Q?ttle.2009=C2=B7Aug26.5.16pm.0G=3E_=3C=5F@Je?=
> =?UTF-8?Q?ff=5FRelf.Seattle.2009=5FAug26.5.48p?=
> =?UTF-8?Q?m.MR=3E?=

> Is it allowed to have MIME there?

>   references      =   "References:" 1*msg-id CRLF
>   msg-id          =   [CFWS] "<" id-left "@" id-right ">" [CFWS]
>   id-left         =   dot-atom-text / obs-id-left

I'm pretty sure not.  I think that's a bug.

-- 
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.
Re:  You can assume the NNTP header is UTF-8 encoded.
#81696
Author: Russ Allbery
Date: Thu, 27 Aug 2009 16:50
26 lines
2646 bytes
_@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.

-- 
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.
--
#81702
Author: _
Date: Thu, 27 Aug 2009 18:43
16 lines
1697 bytes

For the raw U+FeFF in my “Subject:” line (ignorable white·space)
Google Groups, Windows Live Mail, Gecko, Pan and slrn use my:
  Content-Type: text/HTML; charset=UTF-8 

Sci.Physics has nothing but old-school nerds, codgers;
look at the newsReaders they're using:

   1. 572  4,039  Google, 572 nyms made 4,039 posts.
   2. 256  1,831  MicroSoft-Class, e.g. Windows Live Mail
   3. 168  1,155  Gecko-Class, e.g. ThunderBird
   4. 128    955  Forté Agent, all versions
   5.  31    304  Pan
   
emacs wants to be different, emacs wants to use Windows-1252
instead of the UTF-8 I requested... so be it.
Re:  You can assume the NNTP header is UTF-8 encoded.
#81846
Author: 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.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads