Thread View: news.software.nntp
11 messages
11 total messages
Started by Borneq
Mon, 13 Jan 2020 04:54
Quoted-Printable and -- =
Author: Borneq
Date: Mon, 13 Jan 2020 04:54
Date: Mon, 13 Jan 2020 04:54
3 lines
1048 bytes
1048 bytes
How distinguish between quoted printable sign , for example ISO =B6 or UTF-8 =C4=99 and char "=" typed by sender? I see sometimes signature is not after -- but -- =
Re: Quoted-Printable and -- =
Author: Borneq
Date: Mon, 13 Jan 2020 05:20
Date: Mon, 13 Jan 2020 05:20
10 lines
1503 bytes
1503 bytes
W dniu 2020-01-13 o 05:54, Borneq pisze:
> How distinguish between quoted printable sign , for example ISO =B6 or
> UTF-8 =C4=99 and char "=" typed by sender?
> I see sometimes signature is not after -- but -- =
(1) Any 8-bit value may be represented by a "=" followed by two
hexadecimal digits. For example, if the character set in use
were ISO-8859-1, the "=" character would thus be encoded as
"=3D", and a SPACE by "=20". (Upper case should be used for
hexadecimal digits "A" through "F".)
Re: Quoted-Printable and -- =
Author: Olivier Miakinen
Date: Mon, 13 Jan 2020 13:57
Date: Mon, 13 Jan 2020 13:57
18 lines
1544 bytes
1544 bytes
Hello Borneq Le 13/01/2020 à 05:54, Borneq a écrit : > How distinguish between quoted printable sign , for example ISO =B6 or > UTF-8 =C4=99 and char "=" typed by sender? You already found the answer yourself. > I see sometimes signature is not after -- but -- = This is incorrect. A signature is after '<CRLF>-- <CRLF>' where <CRLF> denotes the end of a line. Do you have a Message-ID, or at least the name of the User-Agent which generated that non-signature? -- Olivier Miakinen
Re: Quoted-Printable and -- =
Author: Russ Allbery
Date: Mon, 13 Jan 2020 18:08
Date: Mon, 13 Jan 2020 18:08
17 lines
1602 bytes
1602 bytes
Olivier Miakinen <om+news@miakinen.net> writes:
> Le 13/01/2020 à 05:54, Borneq a écrit :
>> I see sometimes signature is not after -- but -- =
> This is incorrect. A signature is after '<CRLF>-- <CRLF>' where <CRLF>
> denotes the end of a line.
Quoted-printable encoding escapes whitespace at the end of lines, so you
will instead see --=20 in the raw quoted-printable body. (Or -- =, but
I think that would be buggy, since the intent is not a soft line break.)
--
Russ Allbery (eagle@eyrie.org) <https://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<https://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Quoted-Printable and -- =
Author: Olivier Miakinen
Date: Mon, 13 Jan 2020 20:01
Date: Mon, 13 Jan 2020 20:01
32 lines
2187 bytes
2187 bytes
Le 13/01/2020 19:08, Russ Allbery m'a répondu :
>
>>> I see sometimes signature is not after -- but -- =
>
>> This is incorrect. A signature is after '<CRLF>-- <CRLF>' where <CRLF>
>> denotes the end of a line.
>
> Quoted-printable encoding escapes whitespace at the end of lines, so you
> will instead see --=20 in the raw quoted-printable body.
Yes, you are right.
> (Or -- =, but
> I think that would be buggy, since the intent is not a soft line break.)
Indeed.
https://tools.ietf.org/html/rfc2045#section-6.7
(3) (White Space) Octets with values of 9 and 32 MAY be
represented as US-ASCII TAB (HT) and SPACE characters,
respectively, but MUST NOT be so represented at the end
of an encoded line. Any TAB (HT) or SPACE characters
on an encoded line MUST thus be followed on that line
by a printable character. In particular, an "=" at the
end of an encoded line, indicating a soft line break
(see rule #5) may follow one or more TAB (HT) or SPACE
characters. [...]
--
Olivier Miakinen
Re: Quoted-Printable and -- =
Author: Borneq
Date: Tue, 14 Jan 2020 21:24
Date: Tue, 14 Jan 2020 21:24
9 lines
1370 bytes
1370 bytes
W dniu 2020-01-13 o 14:57, Olivier Miakinen pisze: >> I see sometimes signature is not after -- but -- = > > This is incorrect. A signature is after '<CRLF>-- <CRLF>' where <CRLF> > denotes the end of a line. yes, it is probably bad, because it uses only one user in pl.test with 2 messages, and is also in post which citates whole post with headers of previous user.
Re: Quoted-Printable and -- =
Author: Borneq
Date: Tue, 14 Jan 2020 21:31
Date: Tue, 14 Jan 2020 21:31
12 lines
1711 bytes
1711 bytes
W dniu 2020-01-13 o 21:01, Olivier Miakinen pisze: > (3) (White Space) Octets with values of 9 and 32 MAY be > represented as US-ASCII TAB (HT) and SPACE characters, > respectively, but MUST NOT be so represented at the end signature must ends with space, not only two hyphens ? I must be observant, bacause many editors clears termianating spaces. In other hand, better treat all "--" (even without space) as signature or must be better space? Now I search signature from end of message - first 16 lines. Sinature should be <=4 lines (without --) but often I see 5-lines and sometimes can be larger.
Re: Quoted-Printable and -- =
Author: Grant Taylor
Date: Tue, 14 Jan 2020 22:32
Date: Tue, 14 Jan 2020 22:32
33 lines
2213 bytes
2213 bytes
On 1/14/20 2:31 PM, Borneq wrote: > signature must ends with space, not only two hyphens ? That is my understanding. That's what I've seen looked for by various pieces of code. > I must be observant, bacause many editors clears termianating spaces. I don't have anything polite to say about those editors. They break something that is much more important to me (format=flowed) that relies on a trailing space than the signature block. > In other hand, better treat all "--" (even without space) as signature > or must be better space? My understanding is that the signature block is denoted as a line that is hyphen, hyphen, space. My opinion is that said signature block /should/ be the last such line in the message. > Now I search signature from end of message - first 16 lines. Sinature > should be <=4 lines (without --) but often I see 5-lines and sometimes > can be larger. That is your prerogative. -- Grant. . . . unix || die
Re: Quoted-Printable and -- =
Author: Olivier Miakinen
Date: Wed, 15 Jan 2020 01:25
Date: Wed, 15 Jan 2020 01:25
21 lines
1780 bytes
1780 bytes
Le 14/01/2020 22:31, Borneq a écrit : > > signature must ends with space, not only two hyphens ? Yes. > I must be observant, bacause many editors clears termianating spaces. > In other hand, better treat all "--" (even without space) as signature > or must be better space? I believe that some newsreaders (MesNews?) treat all "--" without space as a signature. But conformant newsreaders such as Thunderbird that you use, or SeaMonkey that I use, need "-- " with space to treat it as a signature and remove it when replying. -- This is not a signature -- Olivier Miakinen This is a signature
Re: Quoted-Printable and -- =
Author: Michael Bäuerle
Date: Wed, 15 Jan 2020 09:27
Date: Wed, 15 Jan 2020 09:27
12 lines
1533 bytes
1533 bytes
Grant Taylor wrote: > On 1/14/20 2:31 PM, Borneq wrote: > > > > signature must ends with space, not only two hyphens ? > > That is my understanding. > > That's what I've seen looked for by various pieces of code. The article format (RFC 5536) doesn't specify it, but everybody use "-- ". RFC 3676 even has special handling for it: <https://tools.ietf.org/html/rfc3676#section-4.3>
Re: Quoted-Printable and -- =
Author: Julien ÉLIE
Date: Wed, 15 Jan 2020 17:55
Date: Wed, 15 Jan 2020 17:55
30 lines
2725 bytes
2725 bytes
Hi Michael,
>>> signature must end with space, not only two hyphens ?
>
> The article format (RFC 5536) doesn't specify it, but everybody use
> "-- ". RFC 3676 even has special handling for it:
> <https://tools.ietf.org/html/rfc3676#section-4.3>
After USEFOR (RFC 5536) and USEPRO (RFC 5537), a third RFC named USEAGE
was scheduled. Its draft mentions it:
https://tools.ietf.org/html/draft-ietf-usefor-useage-01
3.1.2.1. Signatures
A "personal signature" is a short closing text automatically added to
the end of articles by posting agents, identifying the poster and
giving his network addresses, etc. Whenever a poster or posting agent
appends such a signature to an article, it MUST be preceded with a
delimiter line containing (only) two hyphens (US-ASCII 45) followed
by one SP (US-ASCII 32). The signature is considered to extend from
the last occurrence of that delimiter up to the end of the article
(or up to the end of the part in the case of a multipart MIME body).
Posting agents SHOULD provide a facility to enable the poster to add
such signatures, and SHOULD discourage (at least with a warning)
signatures of excessive length (4 lines is a commonly accepted
limit).
--
Julien ÉLIE
« Ce qui est fait n'est plus à faire. »
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