Thread View: news.software.readers
7 messages
7 total messages
Started by Walter Dnes
Tue, 11 Apr 2000 00:00
[slrn] Weird header causes hiccups
Author: Walter Dnes
Date: Tue, 11 Apr 2000 00:00
Date: Tue, 11 Apr 2000 00:00
25 lines
1784 bytes
1784 bytes
I noticed that one particular poster's articles were causing slrn to
ask if I wanted to read the article using Metamail. His headers, as
shown by slrn include...
Content-Type: text/plain; charset="Windows-1252"
He's not the only one with that, however in the raw article in my spool
directory, it shows up as...
Content-Type: text/plain;
charset="Windows-1252"
That's a newline right after the semi-colon, followed by a tab and a
space and "charset"... and it's followed by additional headers!!! All the
messages appear to be posted with MS Outhouse Excess 5.0 or 5.01. There's
a right way, a wrong way, and Microsoft's way. He's the most frequent
poster with that unusual header. I grepped through my spool directory for
that combo, and found a few other very occasional posters with the same
header. Their messages also made slrn hiccup. That looks to be the culprit.
--
Walter Dnes <waltdnes@waltdnes.org> SpamDunk Project procmail spamfilter
at http://www.waltdnes.org This message coming to you in living Linux.
Re: [slrn] Weird header causes hiccups
Author: William McBrine
Date: Tue, 11 Apr 2000 00:00
Date: Tue, 11 Apr 2000 00:00
21 lines
1510 bytes
1510 bytes
On 11 Apr 2000 01:58:05 GMT, Walter Dnes wrote: > Content-Type: text/plain; > charset="Windows-1252" > > That's a newline right after the semi-colon, followed by a tab and a > space and "charset"... and it's followed by additional headers!!! That's perfectly legitimate. Lines that start with spaces or tabs are continuations of the lines above them. To indicate the end of all headers, you need two newlines (CR/LF pairs, really) in a row. It's ugly to see a tab _and_ a space, but still legal. The charset itself is another matter. IIRC, "Windows-1252" isn't much different from "iso-8859-1", which would be more widely recognized. -- The value of a program is proportional to the weight of its output.
Re: [slrn] Weird header causes hiccups
Author: J. B. Moreno
Date: Tue, 11 Apr 2000 00:00
Date: Tue, 11 Apr 2000 00:00
29 lines
2065 bytes
2065 bytes
Martijn van Buul <pino+news_software_readers@dohd.cx> wrote: > It occurred to me that William McBrine wrote in news.software.readers: > > [header continuation] > > > It's ugly to see a tab _and_ a space, but still legal. > > It's not only ugly, it's not RFC compliant too. Netscape messenger suffers > from this too, inserting spaces in long subject lines on the way. The old folding rules actually allows the tab and a space, the new rules (insert a CRLF before WS to fold, remove CRLF to unfold) allows it as part of the data but doesn't allow for the addition of any white space other than CRLF (of course in this case the header syntax allows for as much white space as is desired, so it's not necessarily being added by the folding). And Netscape suffered a different problem -- when folding, instead of inserting a CRLF before the white space, it instead inserted it after AND added a space. So "this is long" became "this is \n long" (where \n = CRLF) which others of course unfolded as "this is long". -- John B. Moreno
Re: [slrn] Weird header causes hiccups
Author: Martijn van Buul
Date: Tue, 11 Apr 2000 00:00
Date: Tue, 11 Apr 2000 00:00
14 lines
1225 bytes
1225 bytes
It occurred to me that William McBrine wrote in news.software.readers:
[header continuation]
> It's ugly to see a tab _and_ a space, but still legal.
It's not only ugly, it's not RFC compliant too. Netscape messenger suffers
from this too, inserting spaces in long subject lines on the way.
--
Martijn van Buul - Pino@dohd.cx - http://www.stack.nl/~martijnb/
Visit OuterSpace: mud.stack.nl 3333
Re: [slrn] Weird header causes hiccups
Author: Heikki Kantola
Date: Tue, 11 Apr 2000 00:00
Date: Tue, 11 Apr 2000 00:00
19 lines
1825 bytes
1825 bytes
William McBrine <wmcbrine@clark.net> informed news.software.readers with the following: >The charset itself is another matter. IIRC, "Windows-1252" isn't much >different from "iso-8859-1", which would be more widely recognized. Right, these Windows charsets just fill the control characters' area, positions 128-159 (decimal), with printable characters missing from Latin 1. However, recent Outlook Express versions seem (by default, I think there's some setting to correct this) claim that almost all messages are in this "Windows-1252"-charset despite that none of the Windows-specific characters are used. -- Heikki "Hezu" Kantola, <Heikki.Kantola@IKI.FI> L�hett�m�ll� mainoksia tai muuta asiatonta s�hk�postia yll� olevaan osoitteeseen sitoudut maksamaan oikolukupalvelusta FIM500 alkavalta tunnilta.
Re: [slrn] Weird header causes hiccups
Author: Martijn van Buul
Date: Wed, 12 Apr 2000 00:00
Date: Wed, 12 Apr 2000 00:00
27 lines
1960 bytes
1960 bytes
It occurred to me that J. B. Moreno wrote in news.software.readers:
> The old folding rules actually allows the tab and a space, the new rules
> (insert a CRLF before WS to fold, remove CRLF to unfold) allows it as
> part of the data but doesn't allow for the addition of any white space
> other than CRLF (of course in this case the header syntax allows for as
> much white space as is desired, so it's not necessarily being added by
> the folding).
Whoops. I stand corrected.
> And Netscape suffered a different problem -- when folding, instead of
> inserting a CRLF before the white space, it instead inserted it after
> AND added a space.
I was under the impression that this was just another manifestation
of the same problem: -adding- a CRLF+LWSP, instead of changing one LWSP
into a CRLF+LWSP. The only thing different is the place where the CRLF+LWSP
is inserted.
But, it seems that I'm wrong :)
--
Martijn van Buul - Pino@dohd.cx - http://www.stack.nl/~martijnb/
Visit OuterSpace: mud.stack.nl 3333
Re: [slrn] Weird header causes hiccups
Author: Walter Dnes
Date: Sat, 15 Apr 2000 00:00
Date: Sat, 15 Apr 2000 00:00
25 lines
1994 bytes
1994 bytes
On 11 Apr 2000 11:26:34 GMT, Heikki Kantola, <hezu@iki.fi> wrote: > William McBrine <wmcbrine@clark.net> informed > news.software.readers with the following: > >The charset itself is another matter. IIRC, "Windows-1252" isn't much > >different from "iso-8859-1", which would be more widely recognized. > > Right, these Windows charsets just fill the control characters' area, > positions 128-159 (decimal), with printable characters missing from > Latin 1. However, recent Outlook Express versions seem (by default, I > think there's some setting to correct this) claim that almost all > messages are in this "Windows-1252"-charset despite that none of the > Windows-specific characters are used. I've corresponded privately with the poster who's articles I noticed. He's switched to iso-8859-1 and I don't see the headers, or the "Metamail" message. Another MS default along the lines of... - email using MS-WORD - email and news using HTML - etc, etc -- Walter Dnes <waltdnes@waltdnes.org> SpamDunk Project procmail spamfilter at http://www.waltdnes.org This message coming to you in living Linux.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads