🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #56447

Re: Trailing spaces in body on INN 2.3.3 ?

#56447
From: Jesper Harder
Date: Mon, 11 Feb 2002 04:20
38 lines
2975 bytes
"J.B. Moreno" <planb@newsreaders.com> writes:

> But the question wasn't would your newsreader display such a header
> correctly, it was would it /arrive/ intact and unchanged.  

Right.  We agree about that -- Usenet seems to be mostly 8-bit clean.

>> UTF-8 is not going to be a substitute for RFC 2047 encoding for a long,
>> long time.  Ironically the reason is that a lot people *aren't* using
>> 2047 in non-ascii headers -- if they did, I could switch to UTF-8 as the
>> default instead of Latin-1 without any drawbacks.
>
> 2047 encoding isn't really better than raw UTF8 even in the short term,
> because of the clients that don't recognize it.

RFC 2047 is five years old, and some clients still don't support it
(even though implementing it isn't exactly rocket science).

USEFOR, which will supposedly say that headers should be interpreted as
UTF-8, isn't released yet -- how long will it take before clients catch
up?

> You're using GNUS, and if I'm not mistaken, it's adding UTF8 support so
> that you won't have to "customize" anything, it'll just work.

No, it can't "just work" -- there is no way to determine how a random
string is supposed to be interpreted.  How would you determine if a
string is Latin-1, Big5, iso-2022-jp, UTF-8 or whatever?  That's just
not possible in general.

You can try to auto-detect the encoding, and it'll sometimes be correct,
but you can't do it reliably.

I *can* change the variable that says, which charset should be used if a
header isn't 2047 encoded.  If I set it to utf-8, your string is
displayed correctly.  But currently that's not a sensible setting
because raw utf-8 isn't very common.
Technical Details
Message-ID: <m3bsewir9o.fsf@defun.localdomain>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.uni2.dk!news.tele.dk!not-for-mail
References: <52419.622207@archiver.winews.net> <a405vd$huq$1@newsread4.arcor-online.net> <080220021652051376%planb@newsreaders.com> <m3sn8abowr.fsf@defun.localdomain> <090220021811495003%planb@newsreaders.com> <m31yfuatyi.fsf@defun.localdomain> <090220022338444456%planb@newsreaders.com>

Show Full Headers
Complete Article Headers
Message-ID: <m3bsewir9o.fsf@defun.localdomain>
Subject: Re: Trailing spaces in body on INN 2.3.3 ?
Date: Mon, 11 Feb 2002 05:20:03 +0100
From: Jesper Harder <harder@myrealbox.com>
References: <52419.622207@archiver.winews.net> <a405vd$huq$1@newsread4.arcor-online.net> <080220021652051376%planb@newsreaders.com> <m3sn8abowr.fsf@defun.localdomain> <090220021811495003%planb@newsreaders.com> <m31yfuatyi.fsf@defun.localdomain> <090220022338444456%planb@newsreaders.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.uni2.dk!news.tele.dk!not-for-mail
Organization: http://purl.org/harder/
User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.1 (i686-pc-linux-gnu)
Cancel-Lock: sha1:eHL/3Bs28FjSK9uNuFvq0mH4a2k=
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Lines: 37
NNTP-Posting-Host: 195.249.82.156
X-Trace: 1013401668 dtext.news.tele.dk 17214 195.249.82.156
X-Complaints-To: abuse@post.tele.dk
X-pugleaf-debug: badGroups=1 valid=1
Newsgroups: news.software.nntp