🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
8 messages
8 total messages Started by Ivan Shmakov Thu, 25 Jul 2013 08:15
Content-Transfer-Encoding: vs. Usenet
#255300
Author: Ivan Shmakov
Date: Thu, 25 Jul 2013 08:15
29 lines
2400 bytes
>>>>> Shmuel (Seymour J ) Metz <spamtrap@library.lspace.org.invalid> writes:
>>>>> on 07/21/2013 at 05:13 PM, Ben Morrow <ben@morrow.me.uk> said:

	[Cross-posting to news:news.software.readers and setting
	Followup-To: there.]

 >>>> Content-Transfer-Encoding: 7bit

 >>> !

 >> Well, strictly speaking CTE isn't valid on Usenet,

 > It may not be valid for 1036, but it is certainly valid for 5536.
 > Unencoded ISO 8859-1 isn't valid for either.

	Nowadays, I'd assume that every other newsreader out there is
	going to either support the full range of charsets, whether
	encoded or not, or to have little to no MIME support whatsoever.

	Thus, the issue is rather the RFCs' failure to document the
	existing practice, and not some incompliance.  (Even though
	unencoded data in general may clash with the NNTP provision that
	any non-ASCII data transferred should be in UTF-8.)

	But the whole point is moot, as "7bit" ISO-8859-1 is just a
	fancy name for ASCII, which is valid since well before MIME.

-- 
FSF associate member #7257
[OT] quoting
#255301
Author: Ivan Shmakov
Date: Thu, 25 Jul 2013 15:04
23 lines
1885 bytes
>>>>> "AHK" == Adam H Kerman <ahk@chinet.com> writes:

[...]

 AHK> Here I was, innocently reading news.software.readers, when I came
 AHK> across this crosspost written by a self-declared topic moderator.

	And so did I, now that I've found this one.

[...]

	So, the question is, is it sufficiently nice to omit one's
	newsgroup moderation attempt when responding with a quote?

 AHK> No followup to my article would be on topic anywhere but in a
 AHK> revenge froup for "Ivan", so I've directed followups to the
 AHK> correct newsgroup.

	My guess is that <ksravv$f56$1@news.albasani.net> itself isn't
	relevant to Perl, either.  Now, applying the very same logic...

-- 
Rhetorical one, that is.
Re: Content-Transfer-Encoding: vs. Usenet
#255308
Author: Shmuel Metz
Date: Fri, 26 Jul 2013 19:54
33 lines
2992 bytes
In <87li4vrr6i.fsf_-_@violet.siamics.net>, on 07/25/2013
   at 08:15 AM, Ivan Shmakov <oneingray@gmail.com> said:

>	Nowadays, I'd assume that every other newsreader out there is
>	going to either support the full range of charsets, whether
>	encoded or not,

Not if its crystal ball is broken. Absent a CT with charset, there is
no way that the news reader can tell what the character set is. 

>	Thus, the issue is rather the RFCs' failure to document the
>	existing practice,

One of the RFC goals is interoperability; the existing, nonstandard,
practice of using undeclared non-ASCII data breaks interoperability.

>	But the whole point is moot, as "7bit" ISO-8859-1 is just a
>	fancy name for ASCII, 

No, it's a fancy name for "throw out the high bit of anything that
isn't ASCII."

For e-mail there is a set of RFC's (6530-6533) for Internationalized
Email, but there is, alas, no equivalent for Network News. 

-- 
Shmuel (Seymour J.) Metz, SysProg and JOAT  <http://patriot.net/~shmuel>

Unsolicited bulk E-mail subject to legal action.  I reserve the
right to publicly post or ridicule any abusive E-mail.  Reply to
domain Patriot dot net user shmuel+news to contact me.  Do not
reply to spamtrap@library.lspace.org
Re: Content-Transfer-Encoding: vs. Usenet
#255311
Author: Ivan Shmakov
Date: Sun, 28 Jul 2013 12:44
54 lines
3319 bytes
>>>>> Shmuel (Seymour J ) Metz <spamtrap@library.lspace.org.invalid> writes:
>>>>> on 07/25/2013 at 08:15 AM, Ivan Shmakov <oneingray@gmail.com> said:
>>>>> Shmuel (Seymour J ) Metz <spamtrap@library.lspace.org.invalid> writes:

 >>> Unencoded ISO 8859-1 isn't valid for either.

	[RFC 1036 or 5536, that is.]

 >> Nowadays, I'd assume that every other newsreader out there is going
 >> to either support the full range of charsets, whether encoded or
 >> not,

 > Not if its crystal ball is broken.  Absent a CT with charset,

	The message being discussed (news:ks9i9d$1bf8$1@news.ntua.gr)
	had Content-Type: with charset="iso-8859-1".

	Specifically, I took your remark as opposing the use of
	Content-Transfer-Encoding: 8bit (that is, "unencoded" 8-bit
	data; not "undeclared") in Usenet, which I believe doesn't lead
	to any issues worth discussing in practice.  (Beyond those
	pertinent to the use of non-ASCII charsets in general.)

 > there is no way that the news reader can tell what the character set
 > is.

	Actually, there is: "Ask the user."

 >> Thus, the issue is rather the RFCs' failure to document the existing
 >> practice,

 > One of the RFC goals is interoperability; the existing, nonstandard,
 > practice of using undeclared non-ASCII data breaks interoperability.

	Agreed.

 >> But the whole point is moot, as "7bit" ISO-8859-1 is just a fancy
 >> name for ASCII,

 > No, it's a fancy name for "throw out the high bit of anything that
 > isn't ASCII."

	Is it?  I understood "7bit" as a claim that the body contains no
	"high bit set" octets (which effectively strips ISO-8859-1 down
	to ASCII.)  And if it doesn't hold, then it's an error on the
	part of the sender, and the message is non-compliant to MIME.

 > For e-mail there is a set of RFCs (6530-6533) for Internationalized
 > Email, but there is, alas, no equivalent for Network News.

	My guess is that they wait for the implementors' experience.

-- 
FSF associate member #7257
Re: Content-Transfer-Encoding: vs. Usenet
#255320
Author: Shmuel Metz
Date: Mon, 29 Jul 2013 16:43
31 lines
2981 bytes
In <87k3kargzs.fsf@violet.siamics.net>, on 07/28/2013
   at 12:44 PM, Ivan Shmakov <oneingray@gmail.com> said:

>	Specifically, I took your remark as opposing the use of
>	Content-Transfer-Encoding: 8bit

I oppose the use use octets greater than 127 without the use of a
standardized indication of the character set and also when the CTE is
7bit; I've never complained about a CTE of 8bit.

> > there is no way that the news reader can tell what the character
> > set is.
>	Actually, there is: "Ask the user."

How is the user supposed to know?

>	Is it?  I understood "7bit" as a claim that the body contains no
>	"high bit set" octets (which effectively strips ISO-8859-1 down
>	to ASCII.)

If the intent was that there would be no octets over 127, then why did
they specify ISO-8859-1 instead of defaulting to US-ASCII?

-- 
Shmuel (Seymour J.) Metz, SysProg and JOAT  <http://patriot.net/~shmuel>

Unsolicited bulk E-mail subject to legal action.  I reserve the
right to publicly post or ridicule any abusive E-mail.  Reply to
domain Patriot dot net user shmuel+news to contact me.  Do not
reply to spamtrap@library.lspace.org
Re: Content-Transfer-Encoding: vs. Usenet
#255334
Author: Ivan Shmakov
Date: Mon, 29 Jul 2013 19:52
37 lines
2541 bytes
>>>>> Shmuel (Seymour J ) Metz <spamtrap@library.lspace.org.invalid> writes:
>>>>> on 07/28/2013 at 12:44 PM, Ivan Shmakov <oneingray@gmail.com> said:

[...]

 >>> there is no way that the news reader can tell what the character
 >>> set is.

 >> Actually, there is: "Ask the user."

 > How is the user supposed to know?

	A lot of ways, actually.  For instance, the "official"
	documentation for the fido7.* hierarchy specifies that "the
	charset shall be koi8-r."

	The lack of MIME headers there is known to cause issues, and it
	was brought to the attention of the gate-keepers at least once,
	yet no action has been taken so far.

 >> Is it?  I understood "7bit" as a claim that the body contains no
 >> "high bit set" octets (which effectively strips ISO-8859-1 down to
 >> ASCII.)

 > If the intent was that there would be no octets over 127, then why
 > did they specify ISO-8859-1 instead of defaulting to US-ASCII?

	Who knows?

	... And who cares?  As long as there were /no/ 0x80+ octets,
	I deem the party compliant with the specification.

	This may indeed indicate a latent bug, but so far it hasn't
	become apparent.

-- 
FSF associate member #7257	np. bpopped.mod
Re: Content-Transfer-Encoding: vs. Usenet
#255361
Author: Frank Slootweg
Date: Tue, 30 Jul 2013 13:36
32 lines
2377 bytes
Ivan Shmakov <oneingray@gmail.com> wrote:
> >>>>> Shmuel (Seymour J ) Metz <spamtrap@library.lspace.org.invalid> writes:
> >>>>> on 07/28/2013 at 12:44 PM, Ivan Shmakov <oneingray@gmail.com> said:
> 
> [...]
> 
>  >>> there is no way that the news reader can tell what the character
>  >>> set is.
> 
>  >> Actually, there is: "Ask the user."
> 
>  > How is the user supposed to know?
> 
>         A lot of ways, actually.  For instance, the "official"
>         documentation for the fido7.* hierarchy specifies that "the
>         charset shall be koi8-r."

  And if the user has a capable newsreader, (s)he often has to 'guess'/
tell only once (per group/hierarchy). For example in my newsreader
(tin):

[.tin/attributes:]

scope=nl*
undeclared_charset=ISO-8859-1

  And in order to tell if the posters in this group behave:

scope=news.software.readers
undeclared_charset=US-ASCII

[...]
Re: Content-Transfer-Encoding: vs. Usenet
#255364
Author: Shmuel Metz
Date: Tue, 30 Jul 2013 14:17
21 lines
2782 bytes
In <87li4pp2ji.fsf@violet.siamics.net>, on 07/29/2013
   at 07:52 PM, Ivan Shmakov <oneingray@gmail.com> said:

>	A lot of ways, actually.  For instance, the "official"
>	documentation for the fido7.* hierarchy specifies that "the
>	charset shall be koi8-r."

I was thinking more of groups where there was no local custom to use a
particular charset. Given a mix of, e.g., ISO-8859-* character sets,
how does the poster know which one a particular article uses? Throw in
the m$ almost 8859 character sets and, absent CT charset, it gets even
worse.

-- 
Shmuel (Seymour J.) Metz, SysProg and JOAT  <http://patriot.net/~shmuel>

Unsolicited bulk E-mail subject to legal action.  I reserve the
right to publicly post or ridicule any abusive E-mail.  Reply to
domain Patriot dot net user shmuel+news to contact me.  Do not
reply to spamtrap@library.lspace.org
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