🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #66866

Re: New NNTP draft -- Section 4

#66866
From: Russ Allbery
Date: Sun, 19 Oct 2003 17:51
43 lines
3123 bytes
Dirk Nimmich <nimmich@muenster.de> writes:

> How is this to be interpreted in the case of combined characters?
> Should %xC2.84 (composed Ä) also match %x41.CC.88 (decomposed Ä)
> which are semantically the same character, or is a byte-per-byte
> matching expected?

I believe byte-for-byte matching is what's expected.  It might be good to
add a sentence specifying that to avoid confusion.

>>   "?" matches exactly one character (which may be more than one octet).

> Same question here: are those examples above one or two characters?

? would match a single Unicode code point.

The expectation right now is that newsgroup names would always be in some
normalized form, which would make the results of such matching
deterministic.  Given that, it's best, I think, to keep the matching rules
as simple as possible.  As soon as one gets into thinking about combined
characters in a way that requires the server to be smart, the server would
have to link with extensive Unicode libraries and do canonicalization, and
that would be both slow and complex.

>> 4.4 Examples
>> 
>>    In these examples, $ and @ are used to represent the two octets %xC2
>>   and %xA3 respectively; $@ is thus the UTF-8 encoding for the pound
>>   sterling symbol, shown as # in the descriptions.

> Ah, ISOC requires protocols to handle UTF-8 but still cannot handle
> them themselves, right?

It's not so much ISOC as it is that RFCs are intended to be maximally
portable, *more* portable than some applications of protocols.  In other
words, the goal is to be able to read the NNTP RFC on a system that may be
unable to implement the UTF-8 matching portions of it.

-- 
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: <87oewdxgic.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.20140818.mbox.gz!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!in.100proofnews.com!in.100proofnews.com!cyclone.bc.net!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
References: <87fzhryxdc.fsf@windlord.stanford.edu> <871xta1bbb.fsf@windlord.stanford.edu> <bmtlc3$af0$06$1@news.t-online.com>

Show Full Headers
Complete Article Headers
Message-ID: <87oewdxgic.fsf@windlord.stanford.edu>
Subject: Re: New NNTP draft -- Section 4
Date: Sun, 19 Oct 2003 10:51:39 -0700
From: Russ Allbery <rra@stanford.edu>
References: <87fzhryxdc.fsf@windlord.stanford.edu> <871xta1bbb.fsf@windlord.stanford.edu> <bmtlc3$af0$06$1@news.t-online.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.20140818.mbox.gz!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!in.100proofnews.com!in.100proofnews.com!cyclone.bc.net!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 43
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: 8bit
X-Trace: news.Stanford.EDU 1066585899 1739 171.64.19.147 (19 Oct 2003 17:51:39
 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Common Lisp, linux)
Cancel-Lock: sha1:xFXgnSrF74n6+pvqO4R5Hch+rLQ=