Thread View: news.software.nntp
8 messages
8 total messages
Started by hlwu
Tue, 14 Jun 2005 22:05
Why encode headers?
Author: hlwu
Date: Tue, 14 Jun 2005 22:05
Date: Tue, 14 Jun 2005 22:05
10 lines
1717 bytes
1717 bytes
Unlike mail, usenet news articles are transmitted through 8-bit channels. What is the reason to MIME-encode headers then? I have read articles posted by none-NNTP-compliance softwares which do not encode headers. Headers such as From, Subject, Organization, etc, though contain 8-bit characters, appear just fine. The 8th bit is not stripped and headers readable. It seems to me that technically there is no reason to encode headers or am I missing something?
Re: Why encode headers?
Author: Russ Allbery
Date: Tue, 14 Jun 2005 23:22
Date: Tue, 14 Jun 2005 23:22
19 lines
1728 bytes
1728 bytes
hlwu <hlwu@ms37.hinet.net> writes:
> Unlike mail, usenet news articles are transmitted through 8-bit
> channels. What is the reason to MIME-encode headers then?
So that you can tag what character set you're using, since people use all
sorts of different character sets.
> It seems to me that technically there is no reason to encode headers or
> am I missing something?
Without encoding, you have no idea what the character set is and have to
guess.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Why encode headers?
Author: Jim Heckman
Date: Tue, 14 Jun 2005 23:34
Date: Tue, 14 Jun 2005 23:34
24 lines
2027 bytes
2027 bytes
On 14-Jun-2005, hlwu <hlwu@ms37.hinet.net> wrote in message <1118786744.79935bd303ea845370fdf274025b6f39@teranews>: > Unlike mail, usenet news articles are transmitted through 8-bit > channels. What is the reason to MIME-encode headers then? > > I have read articles posted by none-NNTP-compliance softwares > which do not encode headers. Headers such as From, Subject, > Organization, etc, though contain 8-bit characters, appear just > fine. The 8th bit is not stripped and headers readable. > > It seems to me that technically there is no reason to encode > headers or am I missing something? One reason is that the Content-Type header technically only applies to the body of an article, not to its headers. So in theory there's no way to know whether 8-bit characters in headers are iso-8859-1, utf-8 or some other encoding (in your case for example probably big5). Of course in practice it's usually safe to assume the headers use the same encoding as the body. -- Jim Heckman
Re: Why encode headers?
Author: Patrick Lamaizière
Date: Wed, 15 Jun 2005 20:28
Date: Wed, 15 Jun 2005 20:28
11 lines
1658 bytes
1658 bytes
Jim Heckman écrivait : Hi Jim, > Of course in practice it's usually safe to assume the headers use the > same encoding as the body. Yes, but with the XOVER command you don't have the body, just some headers (and not the content-type). There is no way to know the encoding.
Re: Why encode headers?
Author: Jim Heckman
Date: Wed, 15 Jun 2005 23:35
Date: Wed, 15 Jun 2005 23:35
24 lines
1722 bytes
1722 bytes
On 15-Jun-2005, Patrick Lamaizière <adresse@est.invalid> wrote in message <Xns94445206EE4CFplam@nulle.invalid>: > Jim Heckman écrivait : > > Hi Jim, > > > Of course in practice it's usually safe to assume the headers use the > > same encoding as the body. > > Yes, but with the XOVER command you don't have the body, just some > headers (and not the content-type). There is no way to know the > encoding. Hi Patrick, Yes, I thought of that after I posted. :-) By the way, when are you going to officially release the new version of Mime-proxy that works with News Rover? -- Jim Heckman
Re: Why encode headers?
Author: Patrick Lamaizière
Date: Fri, 17 Jun 2005 17:27
Date: Fri, 17 Jun 2005 17:27
7 lines
1619 bytes
1619 bytes
Jim Heckman écrivait : > By the way, when are you going to officially release the new version > of Mime-proxy that works with News Rover? I did it.
Re: Why encode headers?
Author: Jim Heckman
Date: Sun, 19 Jun 2005 08:11
Date: Sun, 19 Jun 2005 08:11
18 lines
1708 bytes
1708 bytes
On 17-Jun-2005, Patrick Lamaizière <adresse@est.invalid> wrote in message <Xns60D572B421063plam@nulle.invalid>: > Jim Heckman écrivait : > > > By the way, when are you going to officially release the new version > > of Mime-proxy that works with News Rover? > > I did it. Ah, I see that now on your site. I was waiting for an announcement in <news.software.readers> and <fr.usenet.logiciels>. BTW, does the latter still exist? If not, where's the right place now to make such announcements in the fr.* hierarchy? -- Jim Heckman
Re: Why encode headers?
Author: Patrick Lamaizière
Date: Sun, 19 Jun 2005 10:27
Date: Sun, 19 Jun 2005 10:27
15 lines
2166 bytes
2166 bytes
Jim Heckman écrivait : > Ah, I see that now on your site. I was waiting for an announcement in > <news.software.readers> and <fr.usenet.logiciels>. Yes because i just added the work-around for NewsRover, for other users it is not usefull to update. > BTW, does the latter still exist? If not, where's the right place now > to make such announcements in the fr.* hierarchy? fr.usenet.logiciels (moderated) was deleted, fr.comp.usenet.lecteurs-de-news and fr.comp.usenet.serveurs replace it. They are not moderated.
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