From: Richard Dawe Newsgroups: comp.os.msdos.djgpp Subject: Re: MIME standards (Was: Re: Fastest bitblt?) Date: Wed, 01 Mar 2000 22:20:33 +0000 Organization: Customer of Planet Online Lines: 26 Message-ID: <38BD97B1.43A90542@bigfoot.com> References: <38BD3420 DOT BAD59C0A AT americasm01 DOT nt DOT com> NNTP-Posting-Host: modem-204.aluminum.dialup.pol.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news8.svr.pol.co.uk 952023097 13845 62.136.12.204 (2 Mar 2000 18:51:37 GMT) NNTP-Posting-Date: 2 Mar 2000 18:51:37 GMT X-Complaints-To: abuse AT theplanet DOT net X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.14 i586) X-Accept-Language: de,fr To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hello. "Campbell, Rolf [SKY:1U32:EXCH]" wrote: > > Damian Yerrick wrote: > > > >> It's on Usenet; DOS line endings are the standard on Usenet. > > >But maybe not on the mailing list ;-) > > What is the standard for line endings in Internet mail? > > I believe the standard calls for "\r\n" as the line-delimiter. But some > programs don't obey that standard anyways. See RFC 822 at e.g. http://www.rfc-editor.org/ . The standard line delimiter is CRLF = CR LF = \r\l = char 13, char 10. IIRC \n = \r\l on DOS. So, the DOS standard is used for mails too. Unix uses just \l to delimit lines, which is why you see lots of ^M characters if you view a DOS-format text file on Unix with a DOS-unaware viewer. HTH, bye, -- Richard Dawe richdawe AT bigfoot DOT com ICQ 47595498 http://www.bigfoot.com/~richdawe/