delorie.com/archives/browse.cgi | search |
From: | Richard Dawe <richdawe AT bigfoot DOT com> |
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: | <tr4lbsgde5b48d0tsdol3vvc90p0g9nsa3 AT 4ax DOT com> <Pine DOT LNX DOT 4 DOT 10 DOT 10002292032040 DOT 1347-100000 AT darkstar DOT grendel DOT net> <fk6pbssnsuuhcoai79al4bvu6kk1ns9k7s AT 4ax DOT com> <38BD3420 DOT BAD59C0A AT americasm01 DOT nt DOT com> |
NNTP-Posting-Host: | modem-204.aluminum.dialup.pol.co.uk |
Mime-Version: | 1.0 |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |