🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #78678

[Xnews] [MacSOUP] Problems with MIME-encoded subjects

#78678
From: Thomas LEMOINE
Date: Wed, 16 May 2001 15:57
77 lines
3862 bytes
I'm using Xnews/4.05.11. When browsing a newsgroup, I came across a 
thread which subject appeared to be:

> Hommage � Te Zuka, le grand m  =?ISO-8859-1?Q?=E2itre?= du manga.

Somehow puzzled -- I thought that Xnews could decode these when the 
charset was ISO-8859-1 -- I clicked on the article that was at the top 
of the thread. Its subject display then changed to:

> Hommage � Te Zuka, le grand =?ISO-8859-1?Q?m?= �itre du manga.

both in the list pane and in the article pane. The thread subject (next 
to the folder icon, I mean) remained however unchanged. Wondering what 
was going on, I switched to Raw text. The actual subject header read:

> Subject: Hommage =?ISO-8859-1?Q?=E0?= Te Zuka, le grand =?ISO-8859-1?Q?m?=
>  =?ISO-8859-1?Q?=E2itre?= du manga.

The User-Agent field indicated "MacSOUP/F-2.4.6".

                                  -+-

So there were two problems here (apart from the fact that MaIMEd 
subjects are deprecated in fr.* groups).

First, the MacSOUP problem: if I understand correctly the RFCs, the 
subject shouldn't be cut in the middle of a word, but rather between two 
words, as the whole <CR><LF><whitespace> represents a single <SP>.

Second, the Xnews problem: the subjects were half-decoded, and it wasn't 
even the same half all the time.

                                  -+-

Addendum if it may help Luu find the problem: two more articles in this 
thread had more or less similar behaviour. The second one (same author 
and newsreader as the firstone ) read at first:

> Re: Hommage � Te Zuka, le grand  =?ISO-8859-1?Q?m=E2itre?= du manga.

then become:

> Re: Hommage � Te Zuka, le grand m�itre du manga.

(i.e. correctly decoded) and was actually:

> Subject: Re: Hommage =?ISO-8859-1?Q?=E0?= Te Zuka, le grand
>  =?ISO-8859-1?Q?m=E2itre?= du manga.

The third one read at first:

> Re: Hommage � Te Zuka, le  =?iso-8859-1?Q?grandm=E2itre?= du manga.

then became:

> Re: Hommage � Te Zuka, le  grandm�itre du manga.

(with still the extra space between "le" and "grand", which I think 
shouldn't have been there) and was actually:

> Subject: Re: Hommage =?iso-8859-1?Q?=E0?= Te Zuka, le 
>  =?iso-8859-1?Q?grandm=E2itre?= du manga.

(it was posted by a different person, using Netscape).

                                  -+-

If someone wants to access the articles for testing purposes, they have 
been posted to fr.rec.anime today. The Message-ID are respectively
<1eti790.1g3p0x91j6ezjmN%bureauvincent-nospam-@altern.org>
<1eti8pb.477mz186jxv6N%bureauvincent-nospam-@altern.org>
<3B0297AA.A4B29E28@evhr.net>

Thanks in advance for any fix.
-- 
Thomas Lemoine
Technical Details
Message-ID: <Xns90A3B938BA490.thomas@condor.wkaz.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.mbox.zip!archiver1.sj.google.com!newsfeed.google.com!newsfeed.stanford.edu!skynet.be!fr.clara.net!heighliner.fr.clara.net!news.fr.clara.net!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <Xns90A3B938BA490.thomas@condor.wkaz.net>
Subject: [Xnews] [MacSOUP] Problems with MIME-encoded subjects
Date: Wed, 16 May 2001 15:57:15 +0000
From: thomas@wkaz.net (Thomas LEMOINE)
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!archiver1.sj.google.com!newsfeed.google.com!newsfeed.stanford.edu!skynet.be!fr.clara.net!heighliner.fr.clara.net!news.fr.clara.net!not-for-mail
Newsgroups: news.software.readers
Organization: Children of the sun
Lines: 76
Sender: lemoine@193.105.113.102
NNTP-Posting-Host: 193.105.113.102
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: spartacus.fr.clara.net 990028635 62461 193.105.113.102 (16 May 2001 15:57:15 GMT)
X-Complaints-To: abuse@fr.clara.net
NNTP-Posting-Date: Wed, 16 May 2001 15:57:15 +0000 (UTC)
User-Agent: Xnews/4.05.11
Mail-Copies-To: never
X-No-Productlinks: yes
X-Bounce: Content-Type != text/plain
X-Binaries-To: binaries@wkaz.net