On Wed, 9 Jul 2008 10:25:53 -0400, [EMAIL PROTECTED] <[EMAIL PROTECTED]
ftware.com> 
wrote:

>Jim, 
>
>it looks like you have a Mac user to deal with....aren't they a pain? :-
)
>
>Windows record termination: x'0d0a'
>Unix record termination: x'0a'
>Mac record termination: x'0d'
>
And, of course, mainframes use"out of band" record termination.

It's more complicated than that. Mac OS X is built on BSD Unix. Record te
rminator is LF. But many 
existing Mac programs still use CR. Occasionally you will have the Unix F
TP transferring an old 
Mac OS file. This causes problems! 

The Internet has a standard record separator of CRLF. In theory, that sho
uld avoid all these 
incompatibilities. However, if you use Binary FTP transfer, then all bets
 are off. And some Unix 
programs use LF instead of CRLF, on the assumption that everything in the
 Internet is Unix. 

It sure would have been nice if the ASCII "Standard" had specified what t
o do with the darn control 
characters.

Alan Ackerman
Alan (dot) Ackerman (at) Bank of America (dot) com 

Reply via email to