🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #257219

Re: I prefer raw UTF·8 over raw "encoded words".

#257219
From: Michael Baeuerle
Date: Thu, 15 May 2014 22:24
72 lines
3776 bytes
Jeff-Relf.Me wrote:
> 
> At various times and places, I read raw headers...
> and I prefer raw UTF·8 over raw "encoded words".

Bad idea in message headers.

> The -raw- UTF·8 BOM at the end of my "Subject:" lines
> helps certain apps ( Google, MicroSoft, Mozilla )
> auto·detect the charset.
> http://en.wikipedia.org/wiki/Byte_order_mark

But why do you force the rest of the world to guess or "detect"
something if there is an official global standard how to declare what
it is?

> You said:
> > slrn had detected the invalid encoding
> > and replaced all bytes with "?"
> 
> Which version of slrn, the latest one ?

Version 1.0.1 (AFAIK it is the latest one)

> You created flnews, so you don't have to,
> "replace the subject with an error message,
> and I repair it manually".

I agree and there is an entry on the ToDo list to improve this. But I
currently tend to implement it like slrn. Already a good improvement
if I only have to delete some question marks.

Reason:
Rewriting any character with nonzero Bit 7 to "?" (or any other ASCII
replacement) makes the header field encoding known and valid in all
cases. Otherwise a guessing autodetect algorithm may think it is Unicode
but in reality it is not or vice versa. Remember the ForteAgent that
guessed wrong, this is not a trivial task. Much work for an unsafe
solution that only work sometimes. If it should work more reliable you
need a complicated pattern matching like:
- If From==Jeff-Relf.Me then Guess=UTF-8
- If User-Agent==Outlook then Guess=Windows-1252
- ...
- The pattern I overlooked and that crippled the article

This is a workaround, no solution. I am not sure if I really want to
implement it this way.

> You told me:
> > Nobody else uses HTML for something that is not "bad" in USENET.
> > WWW or other places are different worlds.
> 
> Like it or not, mainstream Usenet/email clients
> use a proportional font ( it's the default ).
> Apparently, most prefer it that way.
> 
> <PRE> is the -standard- solution to this "problem".

I can't agree.

> I know who can and cannot read/write the standard,
> and I'm free to post "text/Plain", instead of "text/HTML".
> Left·Click posts HTML, Right·Click posts PlainText... simple.

flnews always use a monospaced font, therefore text/plain for me please.

[Xpost preserved and Fup2 news.software.readers]


Micha
-- 
http://micha.freeshell.org/
Technical Details
Message-ID: <AABTdT6Y83UAAEau.A1.flnews@WStation4.micha.freeshell.org>
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!rt.uk.eu.org!news.albasani.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <AABTdHqgK58AABXP.A1.flnews@WStation2.stz-e.de> <AABTdHwyK6EAABXP.A1.flnews@WStation2.stz-e.de> <Jeff-Relf.Me@May.15{2.47.Seattle.2014}> <AABTdJlxK6MAABXP.A1.flnews@WStation2.stz-e.de> <Jeff-Relf.Me@May.15{6.10.Seattle.2014}> <AABTdNKdERgAAAiK.A1.flnews@WStation2.stz-e.de> <Jeff-Relf.Me@May.15{13.10.Seattle.2014}>

Show Full Headers
Complete Article Headers
Message-ID: <AABTdT6Y83UAAEau.A1.flnews@WStation4.micha.freeshell.org>
Subject: Re: I prefer raw UTF·8 over raw "encoded words".
Date: Thu, 15 May 2014 22:24:24 +0000
From: Michael Baeuerle <michael.baeuerle@gmx.net>
References: <AABTdHqgK58AABXP.A1.flnews@WStation2.stz-e.de> <AABTdHwyK6EAABXP.A1.flnews@WStation2.stz-e.de> <Jeff-Relf.Me@May.15{2.47.Seattle.2014}> <AABTdJlxK6MAABXP.A1.flnews@WStation2.stz-e.de> <Jeff-Relf.Me@May.15{6.10.Seattle.2014}> <AABTdNKdERgAAAiK.A1.flnews@WStation2.stz-e.de> <Jeff-Relf.Me@May.15{13.10.Seattle.2014}>
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!rt.uk.eu.org!news.albasani.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: alt.free.newsservers,news.software.readers
Followup-To: news.software.readers
Lines: 72
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=fixed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net f0HEEQcORWh/RYdjiEOURgtaYmfKO07yJvUrDHwfmik+tXjBUN
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:DzZ+orEqIYRCJwccA66lW8Zkvx8=
Injection-Date: 15 May 2014 22:24:24 -0000
User-Agent: flnews/0.7pre16 (for AIX)