🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #47082

Re: Header encoding

#47082
From: Vincent Lefevre
Date: Thu, 04 Mar 1999 00:00
89 lines
5321 bytes
In article <1do4dj5.1at9lvq17jcksN@medusa.cwi.nl>,
   Jeroen Scheerder <js@cwi.nl> wrote:

> > But the null character is useless and never used.

> It occurs in Unicode multibyte charsets, doesn't it?

But not in ISO-8859-1. If we use this encoding, QP is useless.

> Maybe so.  But fr.* isn't *.*, and Latin1 doesn't cut it.

The rules may be different for different hierarchies. I don't think that
if I use my own local charset, other users will be happy with it. So,
there are restrictions, depending on the hierarchies. In fr.*, following
the RFCs is (almost) sufficient.

> I guess for local, or internal, hierarchies with a strictly local (and
> enforced) charset rule, there's no real interpretation problem.

> But as far as I know not may newsreaders are designed to function only
> in fr.*.

Many of them only support a restricted number of charsets. Some of them
don't support MIME.

> They're more general-purpose tools, and the underlying
> standards need a little more generality; working well in hierarchies
> that happen to have no problem with the particular hard-coded encoding
> isn't enough for the general case of newsreading.

> Yes, and both with and without allowing MIME, html (that is, if it's
> html that isn't too badly broken in its character encoding) is valid
> content.

But without MIME, the text will generally be unreadable and contrary
to the netiquette.

>  If you recognize MIME, there's the option of treating it as
> HTML.  If you don't, its just bad ASCII art; either way, it's a Usenet
> message.

> And either way, using it on Usenet is bad practice, of course.  In
> either option not because it's violating Usenet format (neither is btoa,
> binhex, uuencode or base64 encoding, for that matter); they're
> undesirable and in general frowned upon for other reasons.

It's the same problem concerning QP encoding (either in the body or in
the headers).

> No, the QP in the header -- stuff of the type
<snip>
> will not render entire messages unreadable.  Only the header containing
> the encoding, and only in readers that fail to treat it correctly.

Yes, but people usually read the subject before reading the messages.
So, having a readable subject is *very* important. Moreover, some
newsreaders supporting MIME are broken and the subject is sometimes
slightly modified, making threading wrong.

> It's not that I'm arguing that QP encoding is a good thing.  It isn't.
> But still, the fact is, for the general case of Usenet, 8-bit characters
> in headers are simply problematic.  For Usenet as a whole, there is no

They shouldn't be. If you want to specify the charset, you could, and
there is no need of QP (except in very rare cases), and this could be
compatible with old software.

> -- excepting future UTF-8 -- sensible global choice for an encoding.

It could be local in some cases (e.g. most of the time in fr.*).

> There is no "one size fits all" in the ISO-Latin family, and no way of
> indicating header encoding (and body encoding: only by MIME charset
> specification).  QP doesn't win beauty contests, and does have drawbacks
> for unadapted or poorly designed software, but at least it solves the
> problem -- in the only way it *can* be solved, for Usenet as a whole,

For the moment, it solves it very badly.

> and not specific to the conventions of a specific hierarchy or single
> newsgroup.

-- 
Vincent Lefevre <Vincent.Lefevre@ens-lyon.fr> - PhD stud. in Computer Science
Web: http://www.ens-lyon.fr/~vlefevre/ - 100% validated HTML - Acorn Risc PC,
Yellow Pig 17, Championnat International des Jeux Mathematiques et Logiques,
TETRHEX, Faits divers insolites, etc...

Technical Details
Message-ID: <48dd81a782Vincent.Lefevre@pm-vlefevre.ens-lyon.fr>
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: <gnksa_918342001@naka.org> <1dmtwx7.vv6lio128jjduN@cordelia-121.cableol.net> <7a6gi3$8t8$1@zingo.tninet.se> <1dn84nk.a64e11cikwb1N@medusa.cwi.nl> <7anidv$4qb$1@zingo.tninet.se> <smfr-2002991817220001@h-208-12-39-133.mcom.com> <1dnjq22.ffq6ygsyw89bN@roxboro0-058.dyn.interpath.net> <1dnkoy1.1hmra6y1ub8lp8N@n32-178.berlin.snafu.de> <1dnl1rc.1gzgdgql9jqs0N@roxboro0-047.dyn.interpath.net> <1dnmrt5.1gfmy0hgrwgcqN@n35-19.berlin.snafu.de> <1dnmel2.ib1rd2eb2cw9N@roxboro0-055.dyn.interpath.net> <1dnn4te.qy5voojl6rhN@n65-34.berlin.snafu.de> <slrn7d51kd.o16.bubulle@mykerinos.kheops.frmug.org> <1dns76i.p7aa2g11uzmxgN@medusa.cwi.nl> <7b9ug3$690$2@zingo.tninet.se> <1dnyk7p.1391hv31bx4tryN@medusa.cwi.nl> <48dbe685ffVincent.Lefevre@pm-vlefevre.ens-lyon.fr> <1do1lts.27crt0fv1dpmN@medusa.cwi.nl> <48dcaaf1b6Vincent.Lefevre@pm-vlefevre.ens-lyon.fr> <1do389c.rpu5481fhy737N@medusa.cwi.nl> <48dd2494fbVincent.Lefevre@pm-vlefevre.ens-lyon.fr> <1do4dj5.1at9lvq17jcksN@medusa.cwi.nl>

Show Full Headers
Complete Article Headers
Message-ID: <48dd81a782Vincent.Lefevre@pm-vlefevre.ens-lyon.fr>
Subject: Re: Header encoding
Date: Thu, 04 Mar 1999 00:00:00 +0000
From: Vincent Lefevre <Vincent.Lefevre@ens-lyon.fr>
References: <gnksa_918342001@naka.org> <1dmtwx7.vv6lio128jjduN@cordelia-121.cableol.net> <7a6gi3$8t8$1@zingo.tninet.se> <1dn84nk.a64e11cikwb1N@medusa.cwi.nl> <7anidv$4qb$1@zingo.tninet.se> <smfr-2002991817220001@h-208-12-39-133.mcom.com> <1dnjq22.ffq6ygsyw89bN@roxboro0-058.dyn.interpath.net> <1dnkoy1.1hmra6y1ub8lp8N@n32-178.berlin.snafu.de> <1dnl1rc.1gzgdgql9jqs0N@roxboro0-047.dyn.interpath.net> <1dnmrt5.1gfmy0hgrwgcqN@n35-19.berlin.snafu.de> <1dnmel2.ib1rd2eb2cw9N@roxboro0-055.dyn.interpath.net> <1dnn4te.qy5voojl6rhN@n65-34.berlin.snafu.de> <slrn7d51kd.o16.bubulle@mykerinos.kheops.frmug.org> <1dns76i.p7aa2g11uzmxgN@medusa.cwi.nl> <7b9ug3$690$2@zingo.tninet.se> <1dnyk7p.1391hv31bx4tryN@medusa.cwi.nl> <48dbe685ffVincent.Lefevre@pm-vlefevre.ens-lyon.fr> <1do1lts.27crt0fv1dpmN@medusa.cwi.nl> <48dcaaf1b6Vincent.Lefevre@pm-vlefevre.ens-lyon.fr> <1do389c.rpu5481fhy737N@medusa.cwi.nl> <48dd2494fbVincent.Lefevre@pm-vlefevre.ens-lyon.fr> <1do4dj5.1at9lvq17jcksN@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: 451136442
Organization: a training zoo
User-Agent: Pluto/1.11e (RISC-OS/3.7) NewsHound/1.38
Reply-To: vlefevre+news@ens-lyon.fr
Newsgroups: news.software.readers