🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #49918

Re: Hacking Swedish OE to change "SV"

#49918
From: Erland Sommarskog
Date: Sat, 17 Jul 1999 00:00
77 lines
4733 bytes
Jeroen Scheerder (js@cwi.nl) writes:
>Erland Sommarskog <sommar@algonet.se>:
>> >The physical representation is unreadable.  The content isn't.
>> >Interpreting header content as defined by RFCs, and, when applicable,
>> >rendering it to the user, is the software's task, not the user's.
>> 
>> Thus, you agree that the RFC2047 mumbo-jumbo does rende the contents
>> unreadable.
>
>Less readable, I'd say.  

As long as the encoding is QP. If it's Base-64 it *is* unreadable.
And, yes, that happens too.

>I *do* lament the current restriction imposed by the current header
>charset.  And no, you cannot assume everybody will jump to a Latin-1
>encoding (heck, that't not even adequate, or appropriate, for many
>languages, many newsgroups).  For some it would be convenient to
>interpret the character codes undefined in X3.4 as Latin-1; for others,
>that could be Latin-7, or whatever.

Of course, if I'm reading a Polish newsgroup, I will assume that
the texts are in Latin-2. In fact I will assume the text is in
Latin-2 even if the header says something else. I found this 
subject line in pl.muzyka.rock:

      Re: =?iso-8859-1?Q?b=B1d=BC?= jaki =?iso-8859-1?Q?b=B1d=BC?=

Do you want to take that literary? You can look at DejaNews at
at message <378b9d26@news.vogel.pl> and it's predecessors to 
see what is going on. If you use Netscape as your web reader,
switch to Latin-2 encoding to get what it really says. (Of course,
then you must look at some other article in the thread.) Now you
have something which looks typical Polish to me.

>The problem is clear: some content is problematic, and workarounds
>either use RFC2047's encoding (that *should* be transparent to the user,
>entirely handled by software), or the assumption that the other side
>uses the same (undefined) encoding to interpret the headers.  Both these
>workarounds are less than elegant; you're preferring the latter, while
>I'm wary of depending on such shaky, volatile assumptions for matters as
>important as header interpretation.

But the usage of RFC2047 is precisely that: shaky and volatile! It
assumes that the receiver has software to handle it, and it assumes
that the encoding is carried out correctly. None of these assumptions
are necessarily true.

Now, assume that I have set out to read pl.rec.muzyka.rock and
configured my newsreader to use Latin-2 as the default character
set. Case 1) the reader does not understand RFC2047 => I get to
the mess of a string above. Case 2) the reader understands RFC2047
=> I get to see the wrong string.

Then again, not all newsreaders are capable of changing character
sets at all. I normally use XNews, and the Polish postings are
displayed in Latin-1, even those that are correctly labelled Latin-2.
Same goes for News Xpress. And of course for trn, since I use trn
on a Unix account with my ISP which I access through Telnet. 

Outlook Express for all it's fault is smart enough to understand
the MIME labeling, and was even tricked away by the false Latin-2.
But Outlook Express offers one more feature: you can override the
MIME encoding by selecting the langauge yourself. Which of course
is a necessary feature if you want to support multiple charsets.
You can't trust MIME-labeling because it may be absent, or simply
plain wrong.

And Netscape has taken this one step further. It ignores the MIME
labelling, and presents the article in the font selected by the
user.
-- 
Erland Sommarskog, Stockholm, sommar@algonet.se
When it comes to Swedish summers there's only one thing you can rely on, and
that is that they are completely unreliable.

Technical Details
Message-ID: <8E06E28ABYazorman@news.algonet.se>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <37866605.966460@news.storm.ca> <FEtB6D.KMu@cwi.nl> <8E02F9601Yazorman@news.algonet.se> <1duxhin.riqzht11eoghpN@medusa.cwi.nl> <8E03FEAAAYazorman@news.algonet.se> <1duykex.8aly8sggp16oN@medusa.cwi.nl> <8E05C93EYazorman@news.algonet.se> <1dv19d0.1dxxlst1s2te1yN@medusa.cwi.nl> <8E066C0D2Yazorman@news.algonet.se> <1dv3453.1qux397nn7yp3N@medusa.cwi.nl>

Show Full Headers
Complete Article Headers
Message-ID: <8E06E28ABYazorman@news.algonet.se>
Subject: Re: Hacking Swedish OE to change "SV"
Date: Sat, 17 Jul 1999 00:00:00 +0000
From: sommar@algonet.se (Erland Sommarskog)
References: <37866605.966460@news.storm.ca> <FEtB6D.KMu@cwi.nl> <8E02F9601Yazorman@news.algonet.se> <1duxhin.riqzht11eoghpN@medusa.cwi.nl> <8E03FEAAAYazorman@news.algonet.se> <1duykex.8aly8sggp16oN@medusa.cwi.nl> <8E05C93EYazorman@news.algonet.se> <1dv19d0.1dxxlst1s2te1yN@medusa.cwi.nl> <8E066C0D2Yazorman@news.algonet.se> <1dv3453.1qux397nn7yp3N@medusa.cwi.nl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 502190336
X-Complaints-To: abuse@algo.net
X-Trace: cubacola.tninet.se 932244578 3682 195.163.244.170 (17 Jul 1999 20:49:38 GMT)
Organization: BRF Beckasinen 13
User-Agent: Xnews/2.07.14
NNTP-Posting-Date: 17 Jul 1999 20:49:38 GMT
Newsgroups: news.software.readers