🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #81682

--

#81682
From: _
Date: Wed, 26 Aug 2009 23:03
52 lines
3142 bytes

Thank you, Russ Allbery, that was very nice.
The "\r\n.\r\n" terminator isn't part of a binary·body, of course.

I posted my picture ( www.JeffRelf.F-M.FM/Jeff_Relf_Aug_2005.JPG ),
raw and 100 percent unAltered, 65 kiloBytes; Message-ID:
  _@Jeff_Relf.Seattle.2009_Aug15.8.29pm.Lt
  [ via News.Shared-Secrets.COM:80, a Diablo server ]
  
I raw·downloaded/copied the body to a file;
it displays perfectly, no alterations.

The only overhead was the header;
posted, the size of the file's data was neither inflated nor deflated.

When it comes to posting raw·binary, I'll stick to Diablo servers.
       ··················
Switching topics, I'd love to post Unicode Message-ID's,
isn't UTF-8 the charset of the NNTP header ?

By default, your newsReader (eMacs) assumes NNTP headers
are using the Windows-1252 charset; for example, you posted:

  Subject: Re: =?utf-8?B?w6/Cu8K/?= INN 
  Subject: Re:  INN

My “Subject:” line began with U+FeFF, as did the body.
UTF+FeFF is white·space, same as ASCII 32 or U+00A0 (hard space).

<Windows.H>'s GetStringTypeW() tells you what's whitespace:

  www.JeffRelf.F-M.FM/X.CPP
  LnP  P = Funky - 1 ;
  GetStringTypeW( CT_CTYPE1, Funky, cnt·Props, BoProps );
  Loop( cnt·Props )
    if ( P++, !*++Prop || *Prop & C1_CNTRL )
      wmemmove( P, P+1, --cnt·Real - ( P - Funky ) ), --P ;

In UTF-8, U+FeFF is known as the “UTF-8 signature”, hex: eF, bb, bF.

RFC 2781, a.k.a. “UTF-16, an encoding of ISO 10646”, section 3.2 says:
“ In particular, in UTF-16 plain text,
  it is likely, but not certain, that an initial 0xFEFF is a signature.
  
  When concatenating two strings,
  it is important to strip out those signatures, 
  because, otherwise, the resulting string may contain an 
  unintended "ZERO WIDTH NON-BREAKING SPACE" at the connection point.
  
  Also, some specifications mandate 
  an initial 0xFEFF character in objects labelled as UTF-16 and
  specify that this signature is not part of the object. ”.
Technical Details
Message-ID: <_@Jeff_Relf.Seattle.2009_Aug26.4.03pm.lY>
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.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!feeder3.cambriumusenet.nl!feed.tweaknews.nl!209.197.12.242.MISMATCH!nx01.iad01.newshosting.com!newshosting.com!post01.iad!news.shared-secrets.com!not-for-mail
References: <h6mgsr$3q2$2@tioat.net> <slrnh8tine.bqe.steve@news.mixmin.net> <_@Jeff_Relf.Seattle.2009_Aug25.6.54pm.W4> <slrnh99sq6.bqe.steve@news.mixmin.net> <_@Jeff_Relf.Seattle.2009_Aug26.1.46pm.5X> <87ocq2479l.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <_@Jeff_Relf.Seattle.2009_Aug26.4.03pm.lY>
Subject: --
Date: Wed, 26 Aug 2009 23:03:57 +0000
From: _@Jeff_Relf.Seattle.inValid
References: <h6mgsr$3q2$2@tioat.net> <slrnh8tine.bqe.steve@news.mixmin.net> <_@Jeff_Relf.Seattle.2009_Aug25.6.54pm.W4> <slrnh99sq6.bqe.steve@news.mixmin.net> <_@Jeff_Relf.Seattle.2009_Aug26.1.46pm.5X> <87ocq2479l.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.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!feeder3.cambriumusenet.nl!feed.tweaknews.nl!209.197.12.242.MISMATCH!nx01.iad01.newshosting.com!newshosting.com!post01.iad!news.shared-secrets.com!not-for-mail
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: Text/Plain; charset=UTF-8
Newsgroups: alt.free.newsservers,news.software.nntp
User-Agent: JeffRelf.F-M.FM/X.ZIP
Lines: 52
Organization: Unknown
X-Complaints-To: abuse@shared-secrets.com
X-Original-Bytes: 3048