🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.free.newsservers
Article #121178

--

#121178
From: _
Date: Thu, 05 Nov 2009 08:56
36 lines
2622 bytes

esoteric/outdated NNTP·clients have problems with UTF·8 headers.
I LOVE watching them fuck things up, like little morons bumping heads.

Google Groups sniffs bytes, so it NEVER gets the charset wrong.
Google rules.

Google Groups, Windows Live Mail and ThunderBird ( Gecko-class clients )
―― THE BIG THREE ―― display my headers perfectly.

You know my header isn't US·ASCII... right ?
Is it Windows-1252 ? no, it's not, so don't assume it is.

Your first clue is this ( in my headers ):
  Content-Type: Text/Plain; charset=UTF-8
  
If that's not enough for your ( updated ) client,
the UTF-8 signature (U+FeFF) in my “Subject:” line should be.

UTF+FeFF is white·space, same as ASCII 32 or U+00A0 (hard·space).
<Windows.H>'s GetStringTypeW() tells you what is (or isn't) whitespace.

RFC 2781 ( “ 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_Nov5.0.58am.36>
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!nntp.giganews.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!209.197.12.246.MISMATCH!nx02.iad01.newshosting.com!newshosting.com!news.glorb.com!news-spur1.glorb.com!newsread.glorb.com!not-for-mail
References: <op.u2ufy0kfyqqcxx@dark-knight.myhome.westell.com> <xn0gh8mb49ssxq005@newszilla.xs4all.nl> <hcqopq$vh$1@pcls6.std.com> <xn0gha2sz1ggya3007@newszilla.xs4all.nl>

Show Full Headers
Complete Article Headers
Message-ID: <_@Jeff_Relf.Seattle.2009_Nov5.0.58am.36>
Subject: --
Date: Thu, 05 Nov 2009 08:56:37 +0000
From: _@Jeff_Relf.Seattle.inValid
References: <op.u2ufy0kfyqqcxx@dark-knight.myhome.westell.com> <xn0gh8mb49ssxq005@newszilla.xs4all.nl> <hcqopq$vh$1@pcls6.std.com> <xn0gha2sz1ggya3007@newszilla.xs4all.nl>
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!nntp.giganews.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!209.197.12.246.MISMATCH!nx02.iad01.newshosting.com!newshosting.com!news.glorb.com!news-spur1.glorb.com!newsread.glorb.com!not-for-mail
Newsgroups: sci.physics,alt.free.newsservers
Organization: Glorb Internet Services, http://www.glorb.com
Lines: 36
NNTP-Posting-Host: G9WZv2vhRX1AJZyn+sPMAA.180.posting.glorb.com
Mime-Version: 1.0
Content-Type: Text/Plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Complaints-To: abuse@glorb.com
NNTP-Posting-Date: Thu, 5 Nov 2009 08:56:37 +0000 (UTC)
X-Notice: Scanned by Mr. Bill
User-Agent: X.ZIP