On Thu, Nov 05, 2020 at 04:47:20PM +0100, Gero Treuner wrote:
My understanding is based on this section on page 3:An 'encoded-word' may not be more than 75 characters long, including 'charset', 'encoding', 'encoded-text', and delimiters. If it is desirable to encode more text than will fit in an 'encoded-word' of 75 characters, multiple 'encoded-word's (separated by CRLF SPACE) may be used. So the question is, if an encoded word has to be broken into multiple parts, does it mean that it MUST be separated by CRLF (and also space), or is only space also allowed?
I believe the line there mentions CRLF SPACE because it is talking about *long* encoded words, which would then need to be broken up and folded across lines. In that case, it says breaking them into multiple space separated encoded words (which are then folded) may be used to solve the problem, not that multiple adjacent encoded words MUST be folded across lines.
So the space between the encoded words is not shown,
Yes, this is correct according the section 6.2 which Arnt mentioned.
while the space between an encoded word and not encoded words is shown.
Also correct.
For me it is not clear why Mutt splits the word "Große" into parts of 4 + 1 characters, whether the different cases for display of space are specified somewhere, which approach from above might be followed in Mutt etc.
I haven't dug into the encoding logic myself... -- Kevin J. McCarthy GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA
signature.asc
Description: PGP signature