🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
88 messages
88 total messages Page 1 of 2 Started by Henry Jones Wed, 06 Jul 2016 04:28
Page 1 of 2 • 88 total messages
Do we really need mime-version, content-type, and content-transfer-encoding headers?
#260367
Author: Henry Jones
Date: Wed, 06 Jul 2016 04:28
10 lines
1208 bytes
A lot of people have these three headers for text messages.
1. Mime-Version: 1.0
2. Content-Type: text/plain; charset=utf-8; format=flowed
3. Content-Transfer-Encoding: 7bit

I ask two basic (fundamental) questions about these three headers.

First, are they really needed for pure ASCII (US Keyboard) messages?
Secondly, since I have them removed at the moment, are there any
repercussions I should be aware of (for US Keyboard text messages)?
Re: Do we really need mime-version, content-type, and content-transfer-encoding headers?
#260407
Author: Whiskers
Date: Thu, 07 Jul 2016 16:18
36 lines
2696 bytes
["Followup-To:" header set to news.software.readers.]
On 2016-07-06, Henry Jones <henry@example.com> wrote:
> A lot of people have these three headers for text messages.
> 1. Mime-Version: 1.0
> 2. Content-Type: text/plain; charset=utf-8; format=flowed
> 3. Content-Transfer-Encoding: 7bit
>
> I ask two basic (fundamental) questions about these three headers.
>
> First, are they really needed for pure ASCII (US Keyboard) messages?
> Secondly, since I have them removed at the moment, are there any
> repercussions I should be aware of (for US Keyboard text messages)?

In their absence, I think most software will assume that 7-bit ASCII is
meant.  But if the machine is configured for non-USA-English use, the
ASCII characters displayed may not be what you expect.  This is unlikely
to be a problem with any current operating system - but some people are
using really old or obscure kit.

My newsreader, slrn, doesn't insert any of those headers unless it
detects that the article I'm posting has UTF-8 characters in it, in
which case it encodes the text accordingly and inserts the headers
needed for other software to decode it properly.  It doesn't send any
posts in 'format=flowed' so it never specifies that in a header (but
knows what to do with properly constructed format=flowed incoming
messages).

There are many possible 'Content-Type' 'charset' and
'Content-Transfer-Encoding' entries, but some of them should never
appear in text-only usenet posts.  So far, the only MIME-Version that
exists is 1.0.

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: Do we really need mime-version, content-type, and content-transfer-encoding headers?
#260565
Author: Michael Bäuerle
Date: Thu, 07 Jul 2016 16:25
23 lines
2000 bytes
Whiskers wrote:
> Henry Jones wrote:
> > 
> > A lot of people have these three headers for text messages.
> > 1. Mime-Version: 1.0
> > 2. Content-Type: text/plain; charset=utf-8; format=flowed
> > 3. Content-Transfer-Encoding: 7bit
> > 
> > I ask two basic (fundamental) questions about these three headers.
> > 
> > First, are they really needed for pure ASCII (US Keyboard) messages?
> > Secondly, since I have them removed at the moment, are there any
> > repercussions I should be aware of (for US Keyboard text messages)?
> 
> In their absence, I think most software will assume that 7-bit ASCII is
> meant.

According to MIME it is mandatory to treat messages like this (for a
conforming application).

The "MIME-Version" header field is required for all MIME messages. Even
if the body is US-ASCII, the header may contain encoded-words according
to RFC2047 (like in this article).
Re: Do we really need mime-version, content-type, and content-transfer-encoding headers?
#260567
Author: Adam H. Kerman
Date: Thu, 07 Jul 2016 16:46
57 lines
3971 bytes
Whiskers <catwheezel@operamail.com> wrote:
>On 2016-07-06, Henry Jones <henry@example.com> wrote:

>>A lot of people have these three headers for text messages.
>>1. Mime-Version: 1.0
>>2. Content-Type: text/plain; charset=utf-8; format=flowed
>>3. Content-Transfer-Encoding: 7bit

>>I ask two basic (fundamental) questions about these three headers.

>>First, are they really needed for pure ASCII (US Keyboard) messages?
>>Secondly, since I have them removed at the moment, are there any
>>repercussions I should be aware of (for US Keyboard text messages)?

>In their absence, I think most software will assume that 7-bit ASCII is
>meant.  But if the machine is configured for non-USA-English use, the
>ASCII characters displayed may not be what you expect.  This is unlikely
>to be a problem with any current operating system - but some people are
>using really old or obscure kit.

I'm not sure what you mean here. What non-ASCII 7-bit code pages are
in widespread use today anywhere? It's never an issue with 8-bit,
which as far as I know, are all supersets of ASCII.

>My newsreader, slrn, doesn't insert any of those headers unless it
>detects that the article I'm posting has UTF-8 characters in it, in
>which case it encodes the text accordingly and inserts the headers
>needed for other software to decode it properly.  It doesn't send any
>posts in 'format=flowed' so it never specifies that in a header (but
>knows what to do with properly constructed format=flowed incoming
>messages).

That's not always helpful in a followup. There are multiple problems,
as one must deal with BOTH character set AND encoding. If a followup
has quotes in it from multiple precursor articles, the original articles
could have been in different character sets and have been encoded
differently and mistranslated in quote, possibly because the MIME
header declarations were wrong or missing.

slrn doesn't always know what it's detecting.

In my situation, I'm using a remote terminal. The text editor I use in
the composer has a different set of environment variables than the
remote terminal uses to display the article. I've never been able to
figure out what LANG settings to use in the remote terminal, so I have
to ignore discrepencies. My local terminal emulation allows me to choose
the translation. If absolutely necessary, I can change the translation
from one article to the next.

When composing, I try to use ASCII whenever possible.

>There are many possible 'Content-Type' 'charset' and
>'Content-Transfer-Encoding' entries, but some of them should never
>appear in text-only usenet posts.  So far, the only MIME-Version that
>exists is 1.0.

MIME is a pain in the ass.
Re: Do we really need mime-version, content-type, and content-transfer-encoding headers?
#260568
Author: Adam H. Kerman
Date: Thu, 07 Jul 2016 16:53
31 lines
2615 bytes
Michael =?ISO-8859-1?Q?B=E4uerle?= <michael.baeuerle@stz-e.de> wrote:
>Whiskers wrote:
>>Henry Jones wrote:

>>>A lot of people have these three headers for text messages.
>>>1. Mime-Version: 1.0
>>>2. Content-Type: text/plain; charset=utf-8; format=flowed
>>>3. Content-Transfer-Encoding: 7bit

>>>I ask two basic (fundamental) questions about these three headers.

>>>First, are they really needed for pure ASCII (US Keyboard) messages?
>>>Secondly, since I have them removed at the moment, are there any
>>>repercussions I should be aware of (for US Keyboard text messages)?

>>In their absence, I think most software will assume that 7-bit ASCII is
>>meant.

>According to MIME it is mandatory to treat messages like this (for a
>conforming application).

>The "MIME-Version" header field is required for all MIME messages. Even
>if the body is US-ASCII, the header may contain encoded-words according
>to RFC2047 (like in this article).

I'm not following what you're doing, then. Your headers declare a MIME
version but lack Content-Type. I thought both headers were mandatory.

My articles are generally MIME-header free. It's a matter of principle.
I use MIME headers to convey a character set only and only in those
rare circumstances in which I have no choice but to use non-ASCII characters.
Re: Do we really need mime-version, content-type, and content-transfer-encoding headers?
#260587
Author: Michael Bäuerle
Date: Thu, 07 Jul 2016 18:04
7 lines
1219 bytes
Adam H. Kerman wrote:
> 
> [...]
> MIME is a pain in the ass.

Absolutely, but we currently have no better solution.
But for non-english languages a solution is required.
Re: Do we really need mime-version, content-type, and content-transfer-encoding headers?
#260569
Author: Michael Bäuerle
Date: Thu, 07 Jul 2016 18:49
53 lines
3411 bytes
Adam H. Kerman wrote:
>Michael Baeuerle wrote:
>>Whiskers wrote:
>>>
>>>[MIME header fields]
>>>In their absence, I think most software will assume that 7-bit ASCII is
>>>meant.

>>According to MIME it is mandatory to treat messages like this (for a
>>conforming application).

>>The "MIME-Version" header field is required for all MIME messages. Even
>>if the body is US-ASCII, the header may contain encoded-words according
>>to RFC2047 (like in this article).

>I'm not following what you're doing, then. Your headers declare a MIME
>version but lack Content-Type. I thought both headers were mandatory.

No, only "MIME-Version" is mandatory for MIME conformance (according
to RFC2049 [1] Requirement 1).

Both, the "Content-Type" and Content-Transfer-Encoding" header fields
are only required for non-default values (according to RFC2045 [2][3]
and RFC2049 [1] Requirements 2 and 8).

In the case of my article, the field "MIME-Version" is required not
only for general MIME compliance, but also to switch the semantics of
header fields, so that the encoded-words according to RFC2047 [4] are
valid. Your newsreader seems to be not MIME conformant and the intended
behaviour in [4] is to present 'encoded-word' as 'atom' tokens to the
parser of such software (so that the message format conforms at least
syntactically to RFC822 or RFC850 respectively).

>My articles are generally MIME-header free. It's a matter of principle.
>I use MIME headers to convey a character set only and only in those
>rare circumstances in which I have no choice but to use non-ASCII characters.

For me (as a german) this is not an option. In the german hierarchy
almost every article is displayed and quoted crippled without MIME
support.

In the past I have used the ASCII-transcription of my name in the
header, but now in 2016 - two decades after RFC2047 [4] was released and
RFC5536 [5] has defined MIME as part of USENET article format - I have
eventually switched to this encoding. 


____________________
[1] <https://tools.ietf.org/html/rfc2049#section-2>
[2] <https://tools.ietf.org/html/rfc2045#section-5.2>
[3] <https://tools.ietf.org/html/rfc2045#section-6.1>
[4] <https://tools.ietf.org/html/rfc2047>
[5] <https://tools.ietf.org/html/rfc5536#section-2.3>
Re: Do we really need mime-version, content-type, and content-transfer-encoding headers?
#260575
Author: Frank Slootweg
Date: Thu, 07 Jul 2016 19:52
13 lines
1679 bytes
Michael Bäuerle <michael.baeuerle@gmx.net> wrote:
> Adam H. Kerman wrote:
> > 
> > [...]
> > MIME is a pain in the ass.
> 
> Absolutely, but we currently have no better solution.
> But for non-english languages a solution is required.

  English also uses some diacriticals, but most Americans are not aware
of this fact, so they *think* they don't need them.

  I'll let an informed American give some examples.
Re: Do we really need mime-version, content-type, and content-transfer-encoding headers?
#260417
Author: Frank Slootweg
Date: Thu, 07 Jul 2016 20:32
22 lines
1880 bytes
"Henry Jones <henry@example.com>" wrote:
> A lot of people have these three headers for text messages.
> 1. Mime-Version: 1.0
> 2. Content-Type: text/plain; charset=utf-8; format=flowed
> 3. Content-Transfer-Encoding: 7bit
> 
> I ask two basic (fundamental) questions about these three headers.
> 
> First, are they really needed for pure ASCII (US Keyboard) messages?

  No.

> Secondly, since I have them removed at the moment, are there any
> repercussions I should be aware of (for US Keyboard text messages)?

  If you have *removed* them, you should make sure that the format of
your text does not violate any of the parts of '2.'.

  P.S. 'Glad' to see you've yet again found another non-issue to waste
(y)our time on, "Paul M. Cook"... oops I mean "VPN User"... oops I mean
"Joe Clock"... oops I mean "Marob Katon" ... oops I mean "Chris
Rangoon"...  oops I mean "Henry Jones".
Re: Do we really need mime-version, content-type, and content-transfer-encoding headers?
#260577
Author: Adam H. Kerman
Date: Thu, 07 Jul 2016 20:33
22 lines
2114 bytes
Frank Slootweg <this@ddress.is.invalid> wrote:
>michael.baeuerle@gmx.net wrote:
>>Adam H. Kerman wrote:

>>>[...]
>>>MIME is a pain in the ass.

>>Absolutely, but we currently have no better solution.
>>But for non-english languages a solution is required.

>English also uses some diacriticals, but most Americans are not aware
>of this fact, so they *think* they don't need them.

>I'll let an informed American give some examples.

Other than on loan words, I don't know what you mean.

I've seen the diaresis used above the second vowel when it's in a
separate syllable from the first vowel, but that hasn't been used
commonly for decades. There was never a way to indicate a diaresis using
a typewriter, which probably helped the practice die off starting in the
1890s if not earlier.
Re: Do we really need mime-version, content-type, and content-transfer-encoding headers?
#260416
Author: Jolly Roger
Date: Thu, 07 Jul 2016 20:36
32 lines
2161 bytes
On 2016-07-07, Frank Slootweg <this@ddress.is.invalid> wrote:
> "Henry Jones <henry@example.com>" wrote:
>> A lot of people have these three headers for text messages.
>> 1. Mime-Version: 1.0
>> 2. Content-Type: text/plain; charset=utf-8; format=flowed
>> 3. Content-Transfer-Encoding: 7bit
>> 
>> I ask two basic (fundamental) questions about these three headers.
>> 
>> First, are they really needed for pure ASCII (US Keyboard) messages?
>
>   No.
>
>> Secondly, since I have them removed at the moment, are there any
>> repercussions I should be aware of (for US Keyboard text messages)?
>
>   If you have *removed* them, you should make sure that the format of
> your text does not violate any of the parts of '2.'.
>
>   P.S. 'Glad' to see you've yet again found another non-issue to waste
> (y)our time on, "Paul M. Cook"... oops I mean "VPN User"... oops I mean
> "Joe Clock"... oops I mean "Marob Katon" ... oops I mean "Chris
> Rangoon"...  oops I mean "Henry Jones".

He tries so hard to dodge filters to troll, yet still fails miserably
every time.  It would be comical if it wasn't do fucking pathetic.

-- 
E-mail sent to this address may be devoured by my ravenous SPAM filter.
I often ignore posts from Google. Use a real news client instead.

JR
Re: Do we really need mime-version, content-type, and content-transfer-encoding headers?
#260579
Author: Adam H. Kerman
Date: Thu, 07 Jul 2016 20:42
40 lines
3063 bytes
michael.baeuerle@gmx.net wrote:
>Adam H. Kerman wrote:
>>Michael Baeuerle wrote:
>>>Whiskers wrote:

>>>>[MIME header fields]
>>>>In their absence, I think most software will assume that 7-bit ASCII is
>>>>meant.

>>>According to MIME it is mandatory to treat messages like this (for a
>>>conforming application).

>>>The "MIME-Version" header field is required for all MIME messages. Even
>>>if the body is US-ASCII, the header may contain encoded-words according
>>>to RFC2047 (like in this article).

>>I'm not following what you're doing, then. Your headers declare a MIME
>>version but lack Content-Type. I thought both headers were mandatory.

>No, only "MIME-Version" is mandatory for MIME conformance (according
>to RFC2049 [1] Requirement 1). . . . 

Oh, thanks.

>In the case of my article, the field "MIME-Version" is required not
>only for general MIME compliance, but also to switch the semantics of
>header fields, so that the encoded-words according to RFC2047 [4] are
>valid. Your newsreader seems to be not MIME conformant and the intended
>behaviour in [4] is to present 'encoded-word' as 'atom' tokens to the
>parser of such software (so that the message format conforms at least
>syntactically to RFC822 or RFC850 respectively). . . . 

Nah. Your article was passed along to MIME tools, but I overrode and didn't
decode, a deliberate choice on my part so I wouldn't have to send a
non-ASCII character and add a MIME header. I could have just left your
email address in attribution as I did in this followup.

trn 4 just expects the user to write modification to the script to any
required headers. If I must add MIME headers, it's manual as I didn't
bother with the script modifications.
Re: Do we really need mime-version, content-type, and content-transfer-encoding headers?
#260421
Author: Nadegda
Date: Thu, 07 Jul 2016 21:08
33 lines
2637 bytes
On Thu, 07 Jul 2016 20:36:02 +0000, Jolly Roger wrote:

> On 2016-07-07, Frank Slootweg <this@ddress.is.invalid> wrote:
>> "Henry Jones <henry@example.com>" wrote:
>>> A lot of people have these three headers for text messages. 1.
>>> Mime-Version: 1.0
>>> 2. Content-Type: text/plain; charset=utf-8; format=flowed 3.
>>> Content-Transfer-Encoding: 7bit
>>> 
>>> I ask two basic (fundamental) questions about these three headers.
>>> 
>>> First, are they really needed for pure ASCII (US Keyboard) messages?
>>
>>   No.
>>
>>> Secondly, since I have them removed at the moment, are there any
>>> repercussions I should be aware of (for US Keyboard text messages)?
>>
>>   If you have *removed* them, you should make sure that the format of
>> your text does not violate any of the parts of '2.'.
>>
>>   P.S. 'Glad' to see you've yet again found another non-issue to waste
>> (y)our time on, "Paul M. Cook"... oops I mean "VPN User"... oops I mean
>> "Joe Clock"... oops I mean "Marob Katon" ... oops I mean "Chris
>> Rangoon"...  oops I mean "Henry Jones".
> 
> He tries so hard to dodge filters to troll, yet still fails miserably
> every time.  It would be comical if it wasn't do fucking pathetic.

Hey Henry! Looks like it's National Paranoia Day. Or murphy's created the 
new sockpuppets I predicted to escape from your killfile.

<snicker>
Re: Do we really need mime-version, content-type, and content-transfer-encoding headers?
#260588
Author: Frank Slootweg
Date: Thu, 07 Jul 2016 21:23
28 lines
2232 bytes
Adam H. Kerman <ahk@chinet.com> wrote:
> Frank Slootweg <this@ddress.is.invalid> wrote:
> >michael.baeuerle@gmx.net wrote:
> >>Adam H. Kerman wrote:
> 
> >>>[...]
> >>>MIME is a pain in the ass.
> 
> >>Absolutely, but we currently have no better solution.
> >>But for non-english languages a solution is required.
> 
> >English also uses some diacriticals, but most Americans are not aware
> >of this fact, so they *think* they don't need them.
> 
> >I'll let an informed American give some examples.
> 
> Other than on loan words, I don't know what you mean.

  Yes, it's mostly - if not only - on loan words, but loan words are
part of a language. In many cases there's no easy/good/<whatever> native
equivalent. In some cases, there's no native equivalent at all.

  And then there's the issue of names - of anything, people, companies,
things, etc. - which use diacriticals. What's the name of that company
of that newsreader again? :-) (BTW, the wimps have mostly - but not
completely - dropped the diacritical in their name.)

[...]
Re: Do we really need mime-version, content-type, and content-transfer-encoding headers?
#260424
Author: TOSEM
Date: Thu, 07 Jul 2016 22:30
41 lines
3273 bytes
Whiskers <catwheezel@operamail.com> wrote;
>["Followup-To:" header set to news.software.readers.]
>On 2016-07-06, Henry Jones <henry@example.com> wrote:
>> A lot of people have these three headers for text messages.
>> 1. Mime-Version: 1.0
>> 2. Content-Type: text/plain; charset=utf-8; format=flowed
>> 3. Content-Transfer-Encoding: 7bit
>>
>> I ask two basic (fundamental) questions about these three headers.
>>
>> First, are they really needed for pure ASCII (US Keyboard) messages?
>> Secondly, since I have them removed at the moment, are there any
>> repercussions I should be aware of (for US Keyboard text messages)?
>
>In their absence, I think most software will assume that 7-bit ASCII is
>meant.  But if the machine is configured for non-USA-English use, the
>ASCII characters displayed may not be what you expect.  This is unlikely
>to be a problem with any current operating system - but some people are
>using really old or obscure kit.
>
>My newsreader, slrn, doesn't insert any of those headers unless it
>detects that the article I'm posting has UTF-8 characters in it, in
>which case it encodes the text accordingly and inserts the headers
>needed for other software to decode it properly.  It doesn't send any
>posts in 'format=flowed' so it never specifies that in a header (but
>knows what to do with properly constructed format=flowed incoming
>messages).
>
>There are many possible 'Content-Type' 'charset' and
>'Content-Transfer-Encoding' entries, but some of them should never
>appear in text-only usenet posts.  So far, the only MIME-Version that
>exists is 1.0.

you ignore the requirement for binary,, I surmise because you yourself 
have no experience of that function of Usenet.
Also.. as best as I recall the content headers are constructive with dweebs
attempting HTML inclusions in posts - something that it seems just will not
die.

-- 
fup set <a.f.n>
Re: Do we really need mime-version, content-type, and content-transfer-encoding headers?
#260589
Author: Henry Jones
Date: Thu, 07 Jul 2016 22:53
39 lines
2504 bytes
On Thu, 7 Jul 2016 16:53:52 +0000 (UTC), Adam H. Kerman wrote:

>>According to MIME it is mandatory to treat messages like this (for a
>>conforming application).
> 
>>The "MIME-Version" header field is required for all MIME messages. Even
>>if the body is US-ASCII, the header may contain encoded-words according
>>to RFC2047 (like in this article).
> 
> I'm not following what you're doing, then. Your headers declare a MIME
> version but lack Content-Type. I thought both headers were mandatory.
> 
> My articles are generally MIME-header free. It's a matter of principle.
> I use MIME headers to convey a character set only and only in those
> rare circumstances in which I have no choice but to use non-ASCII characters.

I do not know what I'm doing, and, if I did, I wouldn't be asking the
question. 

I do know that I only send text messages.
And, I know that when I remove the following headers from my proto message,
they still seem to work fine.
Remove_Headers='Date: ,User-Agent: ,Message-ID: ,Mime-Version:
,Content-Type: ,Content-Transfer-Encoding: ';

What does that mean?
It means that these 6 headers are not required in the proto text message:
1. Date:
2. User-Agent:
3. Message-ID:
4. Mime-Version:
5. Content-Type:
6. Content-Transfer Encoding:

While it's obvious what the first three headers do, it's not obvious to me
what the latter 3 headers do for a text message.

Apparently, they do nothing (for text messages).
But then, why do they even exist (for text messages)?
Re: Do we really need mime-version, content-type, and content-transfer-encoding headers?
#260597
Author: Henry Jones
Date: Fri, 08 Jul 2016 00:04
6 lines
1112 bytes
On Thu, 7 Jul 2016 16:46:34 +0000 (UTC), Adam H. Kerman wrote:

> MIME is a pain in the ass.

What does the MIME header tell us anyway for a text message?
And, is it ever *not* 1.0?
Re: Do we really need mime-version, content-type, and content-transfer-encoding headers?
#260428
Author: Henry Jones
Date: Fri, 08 Jul 2016 00:06
6 lines
1055 bytes
On Thu, 7 Jul 2016 21:08:32 -0000 (UTC), Nadegda wrote:

> Hey Henry! Looks like it's National Paranoia Day. Or murphy's created the 
> new sockpuppets I predicted to escape from your killfile.

plonk!
Re: Do we really need mime-version, content-type, and content-transfer-encoding headers?
#260429
Author: Henry Jones
Date: Fri, 08 Jul 2016 00:09
6 lines
1074 bytes
On 7 Jul 2016 20:36:02 GMT, Jolly Roger wrote:

> He tries so hard to dodge filters to troll, yet still fails miserably
> every time.  It would be comical if it wasn't do fucking pathetic.

plonk!
Re: Do we really need mime-version, content-type, and content-transfer-encoding headers?
#260590
Author: Henry Jones
Date: Fri, 08 Jul 2016 00:17
44 lines
2817 bytes
On Thu, 7 Jul 2016 18:49:52 -0000, Michael Bäuerle wrote:

> No, only "MIME-Version" is mandatory for MIME conformance (according
> to RFC2049 [1] Requirement 1).

Michael,
I don't know this stuff but I'm trying to figure it out, and of all the
responses, yours seems to be one of the very few which seem informed.

May I ask what you meant that the mime-version is only mandator for mime
conformance?

Does that mean that a typical US keyboard text message does *not* need a
MIME-Version header?

> Both, the "Content-Type" and Content-Transfer-Encoding" header fields
> are only required for non-default values (according to RFC2045 [2][3]
> and RFC2049 [1] Requirements 2 and 8).

That makes sense that the "Content-Type" and Content-Transfer-Encoding"
header fields are only needed, essentially, if they're needed.

Am I correct to assume that neither is needed for a US keyboard text
message?
 
> In the case of my article, the field "MIME-Version" is required not
> only for general MIME compliance, but also to switch the semantics of
> header fields, so that the encoded-words according to RFC2047 [4] are
> valid. Your newsreader seems to be not MIME conformant and the intended
> behaviour in [4] is to present 'encoded-word' as 'atom' tokens to the
> parser of such software (so that the message format conforms at least
> syntactically to RFC822 or RFC850 respectively).

I did not understand that paragraph. 

> For me (as a german) this is not an option. In the german hierarchy
> almost every article is displayed and quoted crippled without MIME
> support.


This is an interesting observation that German requires the MIME-Version of
1.0 to be specified. 

I wonder. Why can't MIME-Version 1.0 simply be assumed, by default?
Re: Do we really need mime-version, content-type, and content-transfer-encoding headers?
#260592
Author: Henry Jones
Date: Fri, 08 Jul 2016 00:30
27 lines
2057 bytes
On Thu, 7 Jul 2016 18:25:53 +0200, Michael Bäuerle wrote:

> The "MIME-Version" header field is required for all MIME messages. Even
> if the body is US-ASCII, the header may contain encoded-words according
> to RFC2047 (like in this article).

Here is your header.
Where is the mime-encoded header?

 From: Michael Bäuerle <michael.baeuerle@stz-e.de>
 Newsgroups: news.software.readers
 Subject: Re: Do we really need mime-version, content-type, and
content-transfer-encoding headers?
 Date: Thu, 7 Jul 2016 18:25:53 +0200
 Lines: 23
 Message-ID: <AABXfoKROfUAABz1.A1.flnews@WStation5.stz-e.de>
 References: <nli1e8$hi6$1@news.mixmin.net>
<slrnnnt063.acp.catwheezel@ID-107770.user.individual.net>
 Reply-To: Michael Bäuerle <michael.baeuerle@gmx.net>
 Mime-Version: 1.0
 X-Trace: individual.net 32kbYHZyFux1HKu+pAylGAOa+BGjrA4/X568k2nEpYhzqx8H4u
 X-Orig-Path: not-for-mail
 Cancel-Lock: sha1:b195sdaQBxXeGmXTriiIu/7JCfY=
sha1:hQjh7DNl0MWZNZe1vdGn6p6qoio=
 Injection-Date: Thu, 7 Jul 2016 16:25:53 -0000
 User-Agent: flnews/0.14pre41 (for NetBSD)
 Xref: aioe.org news.software.readers:29672
Re: Do we really need mime-version, content-type, and content-transfer-encoding headers?
#260595
Author: tlvp
Date: Fri, 08 Jul 2016 07:25
11 lines
1660 bytes
On 7 Jul 2016 19:52:52 GMT, Frank Slootweg wrote:

>   English also uses some diacriticals, but most Americans are not aware
> of this fact, so they *think* they don't need them.

Noël, précis, à la carte, entrée, that Ben'n'Jerry's Ice Cream competitor
with a ü in its brandname, ... the list could go on and on :-) . HTH.

Cheers, -- tlvp
-- 
Avant de repondre, jeter la poubelle, SVP.
Re: Do we really need mime-version, content-type, and content-transfer-encoding headers?
#260598
Author: Michael Bäuerle
Date: Fri, 08 Jul 2016 08:24
37 lines
2855 bytes
Adam H. Kerman wrote:
>michael.baeuerle@gmx.net wrote:
>>
>>[...]
>>In the case of my article, the field "MIME-Version" is required not
>>only for general MIME compliance, but also to switch the semantics of
>>header fields, so that the encoded-words according to RFC2047 [4] are
>>valid. Your newsreader seems to be not MIME conformant and the intended
>>behaviour in [4] is to present 'encoded-word' as 'atom' tokens to the
>>parser of such software (so that the message format conforms at least
>>syntactically to RFC822 or RFC850 respectively). . . . 

>Nah. Your article was passed along to MIME tools, but I overrode and didn't
>decode, a deliberate choice on my part so I wouldn't have to send a
>non-ASCII character and add a MIME header. I could have just left your
>email address in attribution as I did in this followup.

IMHO the better choice than using the undecoded 'display-name' token.

>trn 4 just expects the user to write modification to the script to any
>required headers. If I must add MIME headers, it's manual as I didn't
>bother with the script modifications.

In the german hierarchy I currently see a trn 4 that fails to handle
Unicode based MIME - but is able to quote ISO 8859-1 based MIME articles
correctly.

flnews is using Unicode internally, but try to label posted content as
ISO 8859-1 if possible for backward compatibility. This is also
recommended by RFC2046 [1] (last paragraph):
| 
| In general, composition software should always use the "lowest common
| denominator" character set possible. [...]


_________________
[1] https://tools.ietf.org/html/rfc2046#section-4.1.2
Re: Do we really need mime-version, content-type, and content-transfer-encoding headers?
#260599
Author: Michael Bäuerle
Date: Fri, 08 Jul 2016 08:26
10 lines
1771 bytes
tlvp wrote:
> On 7 Jul 2016 19:52:52 GMT, Frank Slootweg wrote:
> > 
> >   English also uses some diacriticals, but most Americans are not aware
> > of this fact, so they *think* they don't need them.
> 
> Noël, précis, à la carte, entrée, that Ben'n'Jerry's Ice Cream competitor
> with a ü in its brandname, ... the list could go on and on :-) . HTH.

Not to forget the Agent from Forté Internet Software.
Re: Do we really need mime-version, content-type, and content-transfer-encoding headers?
#260604
Author: Adam H. Kerman
Date: Fri, 08 Jul 2016 13:55
80 lines
5181 bytes
michael.baeuerle@gmx.net wrote:
>Adam H. Kerman wrote:
>>michael.baeuerle@gmx.net wrote:

>>>[...]
>>>In the case of my article, the field "MIME-Version" is required not
>>>only for general MIME compliance, but also to switch the semantics of
>>>header fields, so that the encoded-words according to RFC2047 [4] are
>>>valid. Your newsreader seems to be not MIME conformant and the intended
>>>behaviour in [4] is to present 'encoded-word' as 'atom' tokens to the
>>>parser of such software (so that the message format conforms at least
>>>syntactically to RFC822 or RFC850 respectively). . . . 

>>Nah. Your article was passed along to MIME tools, but I overrode and didn't
>>decode, a deliberate choice on my part so I wouldn't have to send a
>>non-ASCII character and add a MIME header. I could have just left your
>>email address in attribution as I did in this followup.

>IMHO the better choice than using the undecoded 'display-name' token.

>>trn 4 just expects the user to write modification to the script to any
>>required headers. If I must add MIME headers, it's manual as I didn't
>>bother with the script modifications.

>In the german hierarchy I currently see a trn 4 that fails to handle
>Unicode based MIME - but is able to quote ISO 8859-1 based MIME articles
>correctly.

That's nothing to do with trn 4. That's the way his environment variables
are set in his text editor and how his terminal emulation is set to
translate and display the character codes it receives. In any event,
as I've noted, trn 4 expects the user to supply the correct MIME headers
to identify the character set in use.

trn 4 passes along the characters it receives to other processes for
display. Nothing is built in.

>flnews is using Unicode internally, but try to label posted content as
>ISO 8859-1 if possible for backward compatibility. This is also
>recommended by RFC2046 [1] (last paragraph):

>| In general, composition software should always use the "lowest common
>| denominator" character set possible. [...]

>_________________
>[1] https://tools.ietf.org/html/rfc2046#section-4.1.2

Um, I certainly believe in lowest common denominator character sets,
but the character codes for non-ASCII characters have to be 8 bit and
not UTF-8 as it's an either/or thing.

It's also my philosophy to avoid open and close single and double quotes,
which any number of people post with in lieu of ASCII single and double quote.
They tend to be the only non-ASCII characters in the message or article.
It's plain text, not typesetting.

I've always pointed out that the various ambiguous ASCII characters are
understood through context and that some of them were also used as
diacritical marks. The teletypewriter was intended to be instructed to
perform backspace/overstrike to use them. Yes, I realize that teletypewriter
terminals are uncommon today.

UTF has attempted to avoid ambiguous characters, but I've seen no
shortage of people fail to distinguish between apostrophe and single
close quote, as an example. Looking things up for the purpose of
this discussion, I found a note that UTF uses the same code for
diaresis and umlaut!

Diacritical marks available in ASCII included various accents (acute
and grave), circumflex, and tilde. As pointed out elsewhere, English
uses the diaeresis on occassion, but this wasn't available in ASCII.

With a 7-bit character set, it was hardly comprehensive, but those who
criticized ASCII over the years for being unable to accomodate words
from other European languages that use the Latin alphabet that require
diacritical marks were wrong. Under certain circumstances, yes, a limited
number of diacritical marks were available.

It was a major improvement over the limitations of Baudot code and
other five-bit codes in use for telegraphy.
Re: Do we really need mime-version, content-type, and content-transfer-encoding headers?
#260601
Author: Henry Jones
Date: Fri, 08 Jul 2016 14:23
24 lines
1902 bytes
On Fri, 8 Jul 2016 03:25:21 -0400, tlvp wrote:

> Noël, précis, à la carte, entrée, that Ben'n'Jerry's Ice Cream competitor
> with a ü in its brandname, ... the list could go on and on :-) . HTH.

I admit freely that I don't understand what the purpose of these three are
in terms of sending a text message using a USA keyboard, but I will copy
your message above which has diacriticals.

a. Noël, 
b. précis, 
c. à la carte, 
d. entrée, 
e. Ben'n'Jerry's 
f. ü in its brandname
g. HTH

I just ask that one person let me know if it works well on your setup.
And I'll check mine. That should let us know if the three headers are
important or not with these removed from the proto message:
Remove_Headers='User-Agent: ,Message-ID: ,Mime-Version: ,Content-Type:
,Content-Transfer-Encoding: ';

PS: What does HTH mean?
Re: Do we really need mime-version, content-type, and content-transfer-encoding headers?
#260603
Author: Henry Jones
Date: Fri, 08 Jul 2016 14:39
21 lines
1735 bytes
On Fri, 8 Jul 2016 18:53:08 +0430, Henry Jones wrote:

> a. Noël, 
> b. précis, 
> c. à la carte, 
> d. entrée, 
> e. Ben'n'Jerry's 
> f. ü in its brandname
> g. HTH
> 
> I just ask that one person let me know if it works well on your setup.
> And I'll check mine. That should let us know if the three headers are
> important or not with these removed from the proto message:
> Remove_Headers='User-Agent: ,Message-ID: ,Mime-Version: ,Content-Type:
> ,Content-Transfer-Encoding: ';

The diacriticals in the injected message showed up fine for me sans the
three headers in the proto message:
1. Mime-Version: ,
2. Content-Type: ,
3. Content-Transfer-Encoding: ';
Re: Do we really need mime-version, content-type, and content-transfer-encoding headers?
#260613
Author: Michael Bäuerle
Date: Fri, 08 Jul 2016 15:06
96 lines
5393 bytes
Adam H. Kerman wrote:
>michael.baeuerle@gmx.net wrote:
>>Adam H. Kerman wrote:
>>>
>>>[...]
>>>trn 4 just expects the user to write modification to the script to any
>>>required headers. If I must add MIME headers, it's manual as I didn't
>>>bother with the script modifications.

>>In the german hierarchy I currently see a trn 4 that fails to handle
>>Unicode based MIME - but is able to quote ISO 8859-1 based MIME articles
>>correctly.

>That's nothing to do with trn 4. That's the way his environment variables
>are set in his text editor and how his terminal emulation is set to
>translate and display the character codes it receives. In any event,
>as I've noted, trn 4 expects the user to supply the correct MIME headers
>to identify the character set in use.

>trn 4 passes along the characters it receives to other processes for
>display. Nothing is built in.

I never used trn, it was just guessed from the articles that it have
produced.

>>flnews is using Unicode internally, but try to label posted content as
>>ISO 8859-1 if possible for backward compatibility. This is also
>>recommended by RFC2046 [1] (last paragraph):

>>| In general, composition software should always use the "lowest common
>>| denominator" character set possible. [...]

>>_________________
>>[1] https://tools.ietf.org/html/rfc2046#section-4.1.2

>Um, I certainly believe in lowest common denominator character sets,
>but the character codes for non-ASCII characters have to be 8 bit and
>not UTF-8 as it's an either/or thing.

>It's also my philosophy to avoid open and close single and double quotes,
>which any number of people post with in lieu of ASCII single and double quote.
>They tend to be the only non-ASCII characters in the message or article.
>It's plain text, not typesetting.

>I've always pointed out that the various ambiguous ASCII characters are
>understood through context and that some of them were also used as
>diacritical marks. The teletypewriter was intended to be instructed to
>perform backspace/overstrike to use them. Yes, I realize that teletypewriter
>terminals are uncommon today.

And today most software doesn't understand Backspace+Overstrike anymore.
The same is true for CR, it it still there before linefeeds, but most
software can't handle single CRs in the historic way anymore.

>UTF has attempted to avoid ambiguous characters, but I've seen no
>shortage of people fail to distinguish between apostrophe and single
>close quote, as an example.

Yes, most of the apostrophe stuff just let it "look better" (or not,
depending on the point of view). But it is not really necessary.

I always use ' and " for german too, although this is typographically
incorrect. But I need at least Umlauts and Eszett, because the ASCII
transcription for Umlauts (Vowel+e) looks ugly and for Eszett it may
be ambigous (there are words like "Masse" which have a completely
different meaning if the "ss" is replaced by Eszett). Some people
write "sz" in this case, but this creates eye cancer.

>Looking things up for the purpose of
>this discussion, I found a note that UTF uses the same code for
>diaresis and umlaut!

Yes, U+0308 (COMBINING DIAERESIS) is used for both purposes. And both
cases should be rendered identically. But Unicode has an option to
encode Umlaut and Diaeresis in a different way, if this is relevant for
the user. This can be done with U+034F (COMBINING GRAPHEME JOINER). In
Unicode Normal Form D (NFD) the letter a + Umlaut is:

   <U+0061, U+0308>

and the letter a + Diaeresis is:

   <U+0061, U+034F, U+0308>

The first codepoint sequence is canonically equivalent to U+00E4 (LATIN
SMALL LETTER A WITH DIAERESIS), the latter is not. Therefore both will
stay different even after normalization.

Note:
Some Unicode names are nonsense here for historical reasons (they were
defined this way in the past and are preserved for compatibility
reasons).

flnews uses Unicode Normal Form C (NFC) and therefore inserts U+00E4 for
my name. This codepoint is the same as in ISO 8859-1 and therefore
no UTF is applied and the MIME label is set to "ISO-8859-1".
Re: Do we really need mime-version, content-type, and content-transfer-encoding headers?
#260446
Author: Jolly Roger
Date: Fri, 08 Jul 2016 15:19
16 lines
1439 bytes
On 2016-07-08, Henry Jones <henry@example.com> wrote:
> On 7 Jul 2016 20:36:02 GMT, Jolly Roger wrote:
>
>> He tries so hard to dodge filters to troll, yet still fails miserably
>> every time.  It would be comical if it wasn't do fucking pathetic.
>
> plonk!

Uh huh. We'll see about that next time you troll one of the groups I
frequent.  : )

-- 
E-mail sent to this address may be devoured by my ravenous SPAM filter.
I often ignore posts from Google. Use a real news client instead.

JR
Re: Do we really need mime-version, content-type, and content-transfer-encoding headers?
#260615
Author: Adam H. Kerman
Date: Fri, 08 Jul 2016 18:20
85 lines
4887 bytes
michael.baeuerle@gmx.net wrote:
>Adam H. Kerman wrote:
>>michael.baeuerle@gmx.net wrote:
>>>Adam H. Kerman wrote:

>>. . . It's also my philosophy to avoid open and close single and double
>>quotes, which any number of people post with in lieu of ASCII single
>>and double quote. They tend to be the only non-ASCII characters in
>>the message or article. It's plain text, not typesetting.

>>I've always pointed out that the various ambiguous ASCII characters are
>>understood through context and that some of them were also used as
>>diacritical marks. The teletypewriter was intended to be instructed to
>>perform backspace/overstrike to use them. Yes, I realize that teletypewriter
>>terminals are uncommon today.

>And today most software doesn't understand Backspace+Overstrike anymore.

>The same is true for CR, it it still there before linefeeds, but most
>software can't handle single CRs in the historic way anymore.

Heh. It's undoubtably been decades since software has been able to
interpret most of ASCII's non-printing characters in a meaningful way.

>>UTF has attempted to avoid ambiguous characters, but I've seen no
>>shortage of people fail to distinguish between apostrophe and single
>>close quote, as an example.

>Yes, most of the apostrophe stuff just let it "look better" (or not,
>depending on the point of view). But it is not really necessary.

The glyph for single close quote could indeed be the same as apostrophe,
but if you're going out of your way to avoid the ASCII character, then
choose the correct character code for what you're doing in Unicode.

I learned typesetting on a Compugraphics terminal, which drove a
phototypesetter. No ASCII, although the keyboard was similar to a
typewriter arrangement. In typesetting, there's no such character as
"double quote", only single open and close quote, doubled as needed
for a double quote. Single close quote was ambiguously used for
apostrophe.

>I always use ' and " for german too, although this is typographically
>incorrect. But I need at least Umlauts and Eszett, because the ASCII
>transcription for Umlauts (Vowel+e) looks ugly and for Eszett it may
>be ambigous (there are words like "Masse" which have a completely
>different meaning if the "ss" is replaced by Eszett). Some people
>write "sz" in this case, but this creates eye cancer.

I see what you mean.

>>Looking things up for the purpose of
>>this discussion, I found a note that UTF uses the same code for
>>diaresis and umlaut!

>Yes, U+0308 (COMBINING DIAERESIS) is used for both purposes. And both
>cases should be rendered identically. But Unicode has an option to
>encode Umlaut and Diaeresis in a different way, if this is relevant for
>the user. This can be done with U+034F (COMBINING GRAPHEME JOINER). In
>Unicode Normal Form D (NFD) the letter a + Umlaut is:

>   <U+0061, U+0308>

>and the letter a + Diaeresis is:

>   <U+0061, U+034F, U+0308>

>The first codepoint sequence is canonically equivalent to U+00E4 (LATIN
>SMALL LETTER A WITH DIAERESIS), the latter is not. Therefore both will
>stay different even after normalization.

I didn't know any of that; thanks.

>Note:
>Some Unicode names are nonsense here for historical reasons (they were
>defined this way in the past and are preserved for compatibility
>reasons).

>flnews uses Unicode Normal Form C (NFC) and therefore inserts U+00E4 for
>my name. This codepoint is the same as in ISO 8859-1 and therefore
>no UTF is applied and the MIME label is set to "ISO-8859-1".

Hm.

I'll have to do some more homework.
Re: Do we really need mime-version, content-type, and content-transfer-encoding headers?
#260616
Author: Michael Bäuerle
Date: Fri, 08 Jul 2016 19:26
26 lines
2268 bytes
Adam H. Kerman wrote:
>michael.baeuerle@gmx.net wrote:
>>Adam H. Kerman wrote:
>>>
>>>[...]
>>>UTF has attempted to avoid ambiguous characters, but I've seen no
>>>shortage of people fail to distinguish between apostrophe and single
>>>close quote, as an example.

>>Yes, most of the apostrophe stuff just let it "look better" (or not,
>>depending on the point of view). But it is not really necessary.

>The glyph for single close quote could indeed be the same as apostrophe,
>but if you're going out of your way to avoid the ASCII character, then
>choose the correct character code for what you're doing in Unicode.

The german Wikipedia:
<https://de.wikipedia.org/wiki/Apostroph#Digitale_Typografie>
list U+2019 (RIGHT SINGLE QUOTATION MARK) as the typographically
correct Apostrophe (the green one in the picture).

This requires Unicode. For german quotes an alternative option exist.
Chevrons (U+00BB and U+00AB), they can be encoded with ISO 8859-1 too:
-------------------
»Quoted text«
-------------------
Re: Do we really need mime-version, content-type, and content-transfer-encoding headers?
#260623
Author: tlvp
Date: Sat, 09 Jul 2016 02:07
25 lines
2115 bytes
On Fri, 8 Jul 2016 18:53:08 +0430, Henry Jones wrote:

> On Fri, 8 Jul 2016 03:25:21 -0400, tlvp wrote:
> 
>> Noꪬ pr袩s, �a carte, entr裬 that Ben'n'Jerry's Ice Cream competitor
>> with a �ts brandname, ... the list could go on and on :-) . HTH.
> 
> I admit freely that I don't understand what the purpose of these three are
> in terms of sending a text message using a USA keyboard, but I will copy
> your message above which has diacriticals.
> 
> a. Noꪬ 
> b. pr袩s, 
> c. �a carte, 
> d. entr裬 
> e. Ben'n'Jerry's 
> f. �ts brandname

See what happened? -- only Ben'n'Jerry's came through unscathed.

> g. HTH
 
Oops! I guess That didn't Help as much as I had Hoped :-) . Cheers, -- tlvp
-- 
Avant de repondre, jeter la poubelle, SVP.
Re: Do we really need mime-version, content-type, and content-transfer-encoding headers?
#260629
Author: Frank Slootweg
Date: Sat, 09 Jul 2016 09:58
24 lines
2139 bytes
Henry Jones <henry@example.com> wrote:
> On Fri, 8 Jul 2016 18:53:08 +0430, Henry Jones wrote:
> 
> > a. No?l, 
> > b. pr?cis, 
> > c. ? la carte, 
> > d. entr?e, 
> > e. Ben'n'Jerry's 
> > f. ? in its brandname
> > g. HTH
> > 
> > I just ask that one person let me know if it works well on your setup.
> > And I'll check mine. That should let us know if the three headers are
> > important or not with these removed from the proto message:
> > Remove_Headers='User-Agent: ,Message-ID: ,Mime-Version: ,Content-Type:
> > ,Content-Transfer-Encoding: ';
> 
> The diacriticals in the injected message showed up fine for me sans the
> three headers in the proto message:
> 1. Mime-Version: ,
> 2. Content-Type: ,
> 3. Content-Transfer-Encoding: ';

  Well, that just shows that your (logical) display is smarter than you.
Re: Do we really need mime-version, content-type, and content-transfer-encoding headers?
#260634
Author: tlvp
Date: Sun, 10 Jul 2016 04:03
17 lines
1826 bytes
On Fri, 8 Jul 2016 03:25:21 -0400, tlvp wrote:

> ... that Ben'n'Jerry's Ice Cream competitor
> with a ü in its brandname ...

I got mixed up. I had thought it was Früsen Gladje. But it's Frusen Glädje.
Apologies for my confusion. 

Another one's Häagen Dazs.

Cheers, -- tlvp

[PS: in case anyone quotes the above without mentioning any encoding more
talented than US-ASCII, those mystery-glyphs were u-umlauts and a-umlauts
respectively (two of each).]
-- 
Avant de repondre, jeter la poubelle, SVP.
Re: Do we really need mime-version, content-type, and content-transfer-encoding headers?
#260636
Author: Ted S.
Date: Sun, 10 Jul 2016 18:21
13 lines
1962 bytes
On 07/08/2016 04:24 AM, Michael Bäuerle wrote:
> In the german hierarchy I currently see a trn 4 that fails to handle
> Unicode based MIME - but is able to quote ISO 8859-1 based MIME articles
> correctly.

Technically, shouldn't they be using ISO-8859-15?

Then again, I don't follow the so-called »neue Rechtschreibung«, so I'm 
old-fashioned in my own way.

-- 
Ted S.
Catskill Mtns, NY, USA
Re: Do we really need mime-version, content-type, and content-transfer-encoding headers?
#260637
Author: Ted S.
Date: Sun, 10 Jul 2016 18:30
23 lines
2313 bytes
On 07/08/2016 11:06 AM, Michael Bäuerle wrote:
> I always use ' and " for german too, although this is typographically
> incorrect.

Aren't the « and » part of ISO-8859-1(5)?  Then again, not being a 
native speaker of German, I can't recall whether there's any difference 
between these and the subscript/superscript quote marks.

I recall the old days when people would use ,, taking up two spaces for 
the open quote, and how ugly it looked.

> But I need at least Umlauts and Eszett, because the ASCII
> transcription for Umlauts (Vowel+e) looks ugly and for Eszett it may
> be ambigous (there are words like "Masse" which have a completely
> different meaning if the "ss" is replaced by Eszett).

What do the Swiss do?

Then again, Schwyzerdutsch isn't really German.  ;-)

-- 
Ted S.
Catskill Mtns, NY, USA
UTF-8 is the de facto standard.
#260476
Author: Jeff-Relf.Me
Date: Mon, 11 Jul 2016 09:53
34 lines
2337 bytes
<PRE Style='Font-Family: OCR A, monospace !important;'>
Henry_Jones, Whiskers, Michael Bäuerle, Adam H. Kerman,

UTF-8 is the de facto standard.
Like it or not: _Nothing_ trumps the de facto standard.

Normal, SemiIntelligent people quote the web, emails, 
and/or Usenet posts -- so they need UTF-8.

The "MIME-Version" line is meaningless, I don't use it.

Also, the font matters.
If you don't specify the font, your posts won't show as intended.

So my posts begin:

  &lt;PRE Style='Font-Family: OCR A, monospace !important;'>

"Content-Type:  Text/HTML; charset=UTF-8" must be in the header;
most servers allow it.  Life is too short to mess with idiots, 
so I routinely drop posts from clients/servers than can't handle it.

"rxvt-unicode" ( a Linux terminal ) mixes and matches fonts, as needed;
but you can't specify which glyphs, from which fonts, should be used.

FireFox lets you decide, but you need ( in "User.JS" ):

  user_pref("layout.css.unicode-range.enabled", true);

and ( in "userContent.CSS" ):

  @font-face { 
     font-family: 'JeffRelf';  src: local('NSimSun');  
     unicode-range: U+4E00-9FFF, U+3400-4DFF ;  }
Re: Do we really need mime-version, content-type, and content-transfer-encoding headers?
#260652
Author: Michael Bäuerle
Date: Mon, 11 Jul 2016 10:01
54 lines
3455 bytes
Ted S. wrote:
> On 07/08/2016 11:06 AM, Michael Bäuerle wrote:
> > 
> > I always use ' and " for german too, although this is typographically
> > incorrect.
> 
> Aren't the « and » part of ISO-8859-1(5)?

Yes, they are part of both standards.

> Then again, not being a 
> native speaker of German, I can't recall whether there's any difference 
> between these and the subscript/superscript quote marks.

In Germany both forms are allowed:

   „Quoted text“
   »Quoted text«

The first variant was used by my teachers in school. But normally nobody
cares about "Quoted text" because german typewriting machines allowed
only this variant for decades (the same for inch and arcsecond).

> I recall the old days when people would use ,, taking up two spaces for 
> the open quote, and how ugly it looked.

Yes, but today the younger people seem to be much less pedantic
regarding typography.

> > But I need at least Umlauts and Eszett, because the ASCII
> > transcription for Umlauts (Vowel+e) looks ugly and for Eszett it may
> > be ambigous (there are words like "Masse" which have a completely
> > different meaning if the "ss" is replaced by Eszett).
> 
> What do the Swiss do?

They use ss for both words and the context must provide the meaning.
IMHO a bad idea, we should not copy it. I don't like the ß, but dropping
it only for the cases without ambiguity would be the better choice.
But Germany is is going in the the opposite direction and a capital
form ẞ was invented.

In any case it is important that there is a consensus and I don't see
it, there is not even a consensus for the the reform from 1996 reached
yet in Germany.
Only if the words always look the same, the brain can decode them
with the fast path (as pictures). I noticed that some time ago, while
reading a text that use a very uncommon ſz ligature for ß. Looking
at single words the meaning was absolutely clear, but the reading flow
was very bad.

> Then again, Schwyzerdutsch isn't really German.  ;-)

It really is not.
Re: Do we really need mime-version, content-type, and content-transfer-encoding headers?
#260654
Author: Michael Bäuerle
Date: Mon, 11 Jul 2016 10:10
18 lines
2189 bytes
Ted S. wrote:
> On 07/08/2016 04:24 AM, Michael Bäuerle wrote:
> > 
> > In the german hierarchy I currently see a trn 4 that fails to handle
> > Unicode based MIME - but is able to quote ISO 8859-1 based MIME articles
> > correctly.
> 
> Technically, shouldn't they be using ISO-8859-15?

No. ISO 8859-15 is a relatively new character set (required for the €
sign that is not available in ISO 8859-1). Best backward compatibility
to old software is achieved with ISO 8859-1.

Another advantage of ISO 8859-1 is that no conversion to/from Unicode is
required because the codepoints are mapped 1:1. Applying an UTF to
ISO 8859-1 codepoints gives valid Unicode data and vice versa, removing
an UTF gives valid ISO 8859-1 codepoints (if they are below U+0100,
what is trivial to check).
U+FF1C: Fullwidth, DoubleWide, Japanese less-than sign.
#260481
Author: Jeff-Relf.Me
Date: Mon, 11 Jul 2016 10:32
12 lines
1623 bytes
<PRE Style='Font-Family: OCR A, monospace !important;'>
Michael Bäuerle wrote:
> For german quotes an alternative option exist.
> Chevrons (U+00BB and U+00AB), they can be encoded with ISO 8859-1 too:
>   »Quoted text«

I like: << Quoted Text >>; to wit:

  U+FF1C: Fullwidth, DoubleWide, Japanese less-than sign.
  http://www.fileformat.info/info/unicode/char/ff1c/index.htm

Some glyphs I use:  Jeff-Relf.Me/X.PNG  Jeff-Relf.Me/Glyph.PNG
Re: Do we really need mime-version, content-type, and content-transfer-encoding headers?
#260660
Author: Ted S.
Date: Mon, 11 Jul 2016 23:57
86 lines
5492 bytes
On 07/11/2016 06:01 AM, Michael Bäuerle wrote:
> Ted S. wrote:
>> >On 07/08/2016 11:06 AM, Michael Bäuerle wrote:
>>> > >
>>> > >I always use ' and " for german too, although this is typographically
>>> > >incorrect.
>> >
>> >Aren't the « and » part of ISO-8859-1(5)?
> Yes, they are part of both standards.
>
>> >Then again, not being a
>> >native speaker of German, I can't recall whether there's any difference
>> >between these and the subscript/superscript quote marks.
> In Germany both forms are allowed:
>
>     „Quoted text“
>     »Quoted text«
>
> The first variant was used by my teachers in school. But normally nobody
> cares about "Quoted text" because german typewriting machines allowed
> only this variant for decades (the same for inch and arcsecond).

It's been a while since I actually studied the language, so I could 
never remember whether they were equivalent.  I also studied Russian at 
university, and the rules for quoting things in Russian are even messier 
in that there are certain cases in which you're supposed to use the 
German-style quotes, and others that involve using one of the dashes. 
(Don't ask me which Unicode dash it is.  The Russian Wikipedia page 
doesn't make it clear, either.)

>> >I recall the old days when people would use ,, taking up two spaces for
>> >the open quote, and how ugly it looked.
> Yes, but today the younger people seem to be much less pedantic
> regarding typography.

Do the German-language groups still do the DAU-Jones Index?

>>> > >But I need at least Umlauts and Eszett, because the ASCII
>>> > >transcription for Umlauts (Vowel+e) looks ugly and for Eszett it may
>>> > >be ambigous (there are words like "Masse" which have a completely
>>> > >different meaning if the "ss" is replaced by Eszett).
>> >
>> >What do the Swiss do?
> They use ss for both words and the context must provide the meaning.
> IMHO a bad idea, we should not copy it. I don't like the ß, but dropping
> it only for the cases without ambiguity would be the better choice.
> But Germany is is going in the the opposite direction and a capital
> form ẞ was invented.


To be honest, I was joking a bit, since I know the Swiss don't use the 
ß.  As for the ẞ, I think I've seen it on things like uniforms of 
Bundesliga players, but I always figured it was an affectation.  I 
didn't realize there's actually a capital ß now.  Ugly, ugly, ugly.

> In any case it is important that there is a consensus and I don't see
> it, there is not even a consensus for the the reform from 1996 reached
> yet in Germany.
> Only if the words always look the same, the brain can decode them
> with the fast path (as pictures). I noticed that some time ago, while
> reading a text that use a very uncommon ſz ligature for ß. Looking
> at single words the meaning was absolutely clear, but the reading flow
> was very bad.

Post in Fraktur.  :-)  (Or worse, Sütterlin.)  Actually, a decade or so 
ago one of the local school libraries was getting rid of some 
out-of-date books to make room for new stuff, and my mom picked me up a 
German-English dictionary from before the *previous* spelling reform, so 
the first decade of the 20th century or so.  The German half is of 
course in Fraktur, but with spellings like "thun" instead of "tun".  I 
just don't have any fonts on my system with all the old Fraktur ligatures.

And of course, the second S is much more obvious in the ß in some fonts, 
like Palatino, than in others like Times New Roman.

>> >Then again, Schwyzerdutsch isn't really German.;-)
> It really is not.

The first time my parents visited our Bavarian relatives back in 1987, 
Dad discovered that even his cousins couldn't understand Schwyzerdutsch. 
  Then again, one of them supposedly didn't know about the existence of 
Liechtenstein.

-- 
Ted S.
Catskill Mtns, NY, USA
Re: Do we really need mime-version, content-type, and content-transfer-encoding headers?
#260661
Author: tlvp
Date: Tue, 12 Jul 2016 01:06
13 lines
1872 bytes
On Mon, 11 Jul 2016 12:01:47 +0200, Michael Bäuerle wrote:

>  I don't like the ß, but dropping
> it only for the cases without ambiguity would be the better choice.
> But Germany is is going in the the opposite direction and a capital
> form ẞ was invented.

Oops ... that's a glyph Dialog's UTF-8 doesn't recognize. Be so kind,
please, as to tell me its Unicode code point or HTML entity number.

Thanks. Cheers, -- tlvp
-- 
Avant de repondre, jeter la poubelle, SVP.
Re: Do we really need mime-version, content-type, and content-transfer-encoding headers?
#260662
Author: tlvp
Date: Tue, 12 Jul 2016 01:13
9 lines
1810 bytes
On Mon, 11 Jul 2016 19:57:24 -0400, Ted S. wrote:

> The first time my parents visited our Bavarian relatives back in 1987, 
> Dad discovered that even his cousins couldn't understand Schwyzerdutsch.

And can either of them (parents ort cousins) understand Freiburg barmaids
when they do their Schwäbish schwätzen :-) ? Cheers, -- tlvp
-- 
Avant de repondre, jeter la poubelle, SVP.
Re: Do we really need mime-version, content-type, and content-transfer-encoding headers?
#260663
Author: Michael Bäuerle
Date: Tue, 12 Jul 2016 07:52
13 lines
2002 bytes
tlvp wrote:
> On Mon, 11 Jul 2016 12:01:47 +0200, Michael Bäuerle wrote:
> > 
> >  I don't like the ß, but dropping
> > it only for the cases without ambiguity would be the better choice.
> > But Germany is is going in the the opposite direction and a capital
> > form ẞ was invented.
> 
> Oops ... that's a glyph Dialog's UTF-8 doesn't recognize. Be so kind,
> please, as to tell me its Unicode code point or HTML entity number.

It's U+1E9E:
<http://www.fileformat.info/info/unicode/char/1e9e/index.htm>
Re: Do we really need mime-version, content-type, and content-transfer-encoding headers?
#260664
Author: Michael Bäuerle
Date: Tue, 12 Jul 2016 08:29
49 lines
3521 bytes
Ted S. wrote:
> On 07/11/2016 06:01 AM, Michael Bäuerle wrote:
> > Ted S. wrote:
> >
> > [...], but today the younger people seem to be much less pedantic
> > regarding typography.
> 
> Do the German-language groups still do the DAU-Jones Index?

I can't tell because I seldomly read the German-language related groups.
But in general the acronym DAU is still in use.

> > [Swiss]
> > They use ss for both words and the context must provide the meaning.
> > IMHO a bad idea, we should not copy it. I don't like the ß, but dropping
> > it only for the cases without ambiguity would be the better choice.
> > But Germany is is going in the the opposite direction and a capital
> > form ẞ was invented.
> 
> To be honest, I was joking a bit, since I know the Swiss don't use the 
> ß.  As for the ẞ, I think I've seen it on things like uniforms of 
> Bundesliga players, but I always figured it was an affectation.  I 
> didn't realize there's actually a capital ß now.  Ugly, ugly, ugly.

Nothing is impossible in Germany :-/

> > In any case it is important that there is a consensus and I don't see
> > it, there is not even a consensus for the the reform from 1996 reached
> > yet in Germany.
> > Only if the words always look the same, the brain can decode them
> > with the fast path (as pictures). I noticed that some time ago, while
> > reading a text that use a very uncommon ſz ligature for ß. Looking
> > at single words the meaning was absolutely clear, but the reading flow
> > was very bad.
> 
> Post in Fraktur.  :-)  (Or worse, Sütterlin.)

Posting seems to be impossible, because Unicode has no special
codepoints for it ;-)

But for Fraktur I must confess that is looks good.

> [...]
> And of course, the second S is much more obvious in the ß in some 
> fonts, like Palatino, than in others like Times New Roman.

Some time ago I asked in a language group about the history of ß
(whether it is a ligature of ſs, ſz or ſʒ). The answer was:
»Es ist kompliziert«.
[Dialog] Unicode capabilities (was: Do we really need mime-version, content-type, and content-transfer-encoding headers?)
#260665
Author: Michael Bäuerle
Date: Tue, 12 Jul 2016 09:12
13 lines
1994 bytes
tlvp wrote:
> 
> [Capital Eszett] 
> Oops ... that's a glyph Dialog's UTF-8 doesn't recognize.

In <news:de.test> some time ago Dialog's Unicode capabilities were
tested. The result was that with UTF-8 it only works for codepoints
from the BMP. For all codepoints beyond U+FFFF it works with UTF-7:
<news:4262ed9fb370b5dea2ea5051c904957a@peter.faust-solingen.dialin.t-online.de>
<news:mqpj8b$3q3$1@tota-refugium.de>
but fails with UTF-8, producing garbage like surrogate code-points
(itself it can display what it have produced, but it is not valid
UTF-8).
Re: Do we really need mime-version, content-type, and content-transfer-encoding headers?
#260666
Author: Jernej
Date: Tue, 12 Jul 2016 15:12
12 lines
2362 bytes
On Mon, 11 Jul 2016 19:57:24 -0400, Ted S. wrote:

> Post in Fraktur.

+2DXdB9g13SbYNd0h- +2DXdNtg13SzYNd0y- +2DXdKNg13SvYNd0s2DXdNA- +2DXdMdg13SXYNd0e2DXdMQ- +2DXdGNg13SvYNd0m2DXdINg13SzYNd0h2DXdIg- +2DXdJdg13R7YNd0w- +2DXdMNg13S3YNd0i2DXdINg13SbYNd0j2DXdJtg13SA-
+2DXdINg13SzYNd0h2DXdItg13S3YNd0s2DXdJtg13SvYNd0x2DXdMA- +2DXdMNg13SLYNd0x- +2DXdHtg13TDYNd0m2DXdIdg13SI- +2DXdI9g13SzYNd0v- +2DXdCdg13S/YNd0e2DXdKNg13THYNd0y2DXdLw- (+2DXdhtg13ZPYNd2J-
+2DXditg13ZvYNd2K2DXdkw- +2DXdh9g13ZTYNd2R2DXdiQ- +2DXdcdg13ZfYNd2G2DXdkNg13ZnYNd2a2DXdlw-)?

-- 
begin  .sig
< Jernej Simon+AQ0-i+AQ0- ><>+Jco-<>< jernej|s-ng at eternallybored.org >
end
Re: Do we really need mime-version, content-type, and content-transfer-encoding headers?
#260667
Author: Michael Bäuerle
Date: Tue, 12 Jul 2016 15:19
6 lines
1721 bytes
Jernej Simončič wrote:
> 
> [MIME content decoding failed]

Your article start with octet sequence 0xED 0xA0 0xB5, which decodes to
U+D835. This is not valid in UTF-8 (part of an UTF-16 surrogate-pair).
Re: Do we really need mime-version, content-type, and content-transfer-encoding headers?
#260668
Author: Michael Bäuerle
Date: Tue, 12 Jul 2016 15:23
10 lines
1993 bytes
Jernej Simončič wrote:
> On Mon, 11 Jul 2016 19:57:24 -0400, Ted S. wrote:
> > 
> > Post in Fraktur.
> 
> 𝔇𝔦𝔡 𝔶𝔬𝔲 𝔨𝔫𝔬𝔴 𝔱𝔥𝔞𝔱 𝔘𝔫𝔦𝔠𝔬𝔡𝔢 𝔥𝔞𝔰 𝔰𝔭𝔢𝔠𝔦𝔣𝔦𝔠
> 𝔠𝔬𝔡𝔢𝔭𝔬𝔦𝔫𝔱𝔰 𝔰𝔢𝔱 𝔞𝔰𝔦𝔡𝔢 𝔣𝔬𝔯 𝔉𝔯𝔞𝔨𝔱𝔲𝔯 (𝖆𝖓𝖉
> 𝖊𝖛𝖊𝖓 𝖇𝖔𝖑𝖉 𝕱𝖗𝖆𝖐𝖙𝖚𝖗)?

Looks better.
Re: Do we really need mime-version, content-type, and content-transfer-encoding headers?
#260669
Author: Michael Bäuerle
Date: Tue, 12 Jul 2016 17:05
10 lines
2065 bytes
Jernej Simončič wrote:
> On Mon, 11 Jul 2016 19:57:24 -0400, Ted S. wrote:
> > 
> > Post in Fraktur.
> 
> 𝔇𝔦𝔡 𝔶𝔬𝔲 𝔨𝔫𝔬𝔴 𝔱𝔥𝔞𝔱 𝔘𝔫𝔦𝔠𝔬𝔡𝔢 𝔥𝔞𝔰 𝔰𝔭𝔢𝔠𝔦𝔣𝔦𝔠
> 𝔠𝔬𝔡𝔢𝔭𝔬𝔦𝔫𝔱𝔰 𝔰𝔢𝔱 𝔞𝔰𝔦𝔡𝔢 𝔣𝔬𝔯 𝔉𝔯𝔞𝔨𝔱𝔲𝔯 (𝖆𝖓𝖉
> 𝖊𝖛𝖊𝖓 𝖇𝖔𝖑𝖉 𝕱𝖗𝖆𝖐𝖙𝖚𝖗)?

𝔅𝔲𝔱 𝔫𝔬 𝔘𝔪𝔩𝔞𝔲𝔱𝔰 – or have I overlooked them too?
Re: Do we really need mime-version, content-type, and content-transfer-encoding headers?
#260672
Author: Jernej
Date: Tue, 12 Jul 2016 21:13
11 lines
2252 bytes
On Tue, 12 Jul 2016 19:05:37 +-0200 (CEST), Michael B+AOQ-uerle wrote:

> +2DXdBdg13TLYNd0x- +2DXdK9g13Sw- +2DXdGNg13SrYNd0p2DXdHtg13TLYNd0x2DXdMA- +IBM- or have I overlooked them too?

+IRE-'+2DXdIQ- +2DXdMdg13S/YNd02- +2DXdNNg13SbYNd0x2DXdJQ- +2DXdINg13SzYNd0q2DXdH9g13SbYNd0r2DXdJtg13SvYNd0k- +2DXdIdg13SbYNd0e2DXdINg13THYNd0v2DXdJtg13SDYNd0w- - +2DXdKdg13SIDCNg13TE-'+2DXdMA-
+2DXdMNg13SLYNd0iAwg- +2DXdNNg13SXYNd0eAwjYNd0x- +2DXdJdg13R7YNd0t2DXdLdg13SIDCNg13SvYNd0wAwg-.

-- 
begin  .sig
< Jernej Simon+AQ0-i+AQ0- ><>+Jco-<>< jernej|s-ng at eternallybored.org >
end
Page 1 of 2 • 88 total messages
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