🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #240828

Re: Message encodings

#240828
From: Lewis
Date: Sat, 15 May 2010 16:16
34 lines
2888 bytes
In message <slrnhutgu0.ct8.catwheezel@ID-107770.user.individual.net> 
  Whiskers <catwheezel@operamail.com> wrote:
> On 2010-05-15, David Given <dg@cowlark.com> wrote:
>> Usenet messages are, AIUI, supposed be either (a) valid MIME messages
>> with a content-type, charset and transfer-encoding; or (b) non-MIME
>> messages in 7-bit ASCII.
>>
>> However, in practice there are lots of messages floating around that
>> violate these rules, usually by using high-bit bytes where they're not
>> supposed to (either in headers, where they're supposed to use MIME
>> encoded-words instead, or in a message body in a non-MIME message).
>>
>> What's the best thing to do when decoding these? Do I just treat them as
>> ISO-8859-1 and hope for the best, or are there better heuristics I
>> should use?

> I think UTF-8 would be a better default. 

Absolutely. I'd go so far as to say it is the only choice.

>> (Incidentally, is it the case these days that all NNTP servers are 8-bit
>> clean? If not, does anyone know of a free news server that will
>> correctly reencode messages in 7-bit that I can use for testing?)

> I don't know about news-servers, but it's certainly true that some people 
> are still using client software that isn't 'eight-bit clean'.

Yeah, but people can upgrade their clients if they don't like seeing
??????????? for 8bit text.


-- 
"One of the great tragedies of life is the murder of a beautiful theory
by a gang of brutal facts." - Benjamin Franklin
Technical Details
Message-ID: <slrnhuti69.m2i.g.kreme@ibook-g4.local>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx02.iad01.newshosting.com!newshosting.com!post02.iad!post01.iad!not-for-mail
References: <69i2c7-7o4.ln1@gate.cowlark.com> <slrnhutgu0.ct8.catwheezel@ID-107770.user.individual.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrnhuti69.m2i.g.kreme@ibook-g4.local>
Subject: Re: Message encodings
Date: Sat, 15 May 2010 16:16:09 +0000
From: Lewis <g.kreme@gmail.com.dontsendmecopies>
References: <69i2c7-7o4.ln1@gate.cowlark.com> <slrnhutgu0.ct8.catwheezel@ID-107770.user.individual.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx02.iad01.newshosting.com!newshosting.com!post02.iad!post01.iad!not-for-mail
Newsgroups: news.software.readers
Organization: Miskatonic U
Mail-Copies-To: nobody
X-No-Archive: Yes
X-Face: )^b5"R:T7U>9~:PEn3YkzMfW*[b1qKeU.fP9C8~8HpU9}lA&6`bH1z
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Excuse: Been playing lots of WoW
User-Agent: slrn/0.9.9p1 (Darwin)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Organization: Newshosting.com - Highest quality at a great price!
 www.newshosting.com
X-Complaints-To: abuse(at)newshosting.com
Lines: 34