[seqfan] Re: End of line characters in b-files
maximilian.hasler at gmail.com
Tue Mar 10 22:55:56 CET 2009
On Tue, Mar 10, 2009 at 4:02 PM, Peter Luschny
<peter.luschny at googlemail.com> wrote:
> njas> We strongly prefer having each line end with the single character LF
> njas> (because that is the unix standard format). The other format (DOS format)
> njas> has to be changed by me (individually for each file!).
> "Most textual Internet protocols (including HTTP, SMTP, FTP, IRC and
> many others) mandate the use of ASCII CR+LF (0x0D 0x0A) on the protocol level, ...."
Neil was not referring to the messages sent on the protocol level, but
to the attached b-file which typically would be MIME(base64) encoded
and then sent conforming to the protocol (with CRLF after 76 bytes of
base64 encoded data)
> "In practice, there are many applications that erroneously use the C
> newline character '\n' ...
the "..." stand for "but recommend that tolerant applications
recognize lone LF as well"
> This leads to problems ... instead of the required CR+LF."
In reference  you find the phrase
Every line in an Internet mail message is required to end with CR LF.
The entire message ends with CR LF dot CR LF.
Reminds me of the olden days... :-)
More information about the SeqFan