RE: Training Using Windows
[email protected] (Chris Prince-Colbath)
| Newsgroups | perl.trainers |
|---|---|
| Message-ID | <C29B240BA37BD4118FA500B0D049AA966456C2@HONTS328.homeoffice.wal-mart.com> |
Um... It may be that Winvi32 has an ANSI mode, but DOS text format, which is distinguished only by the \r\n line ending, is not called ANSI. Neither is Unix's \n line ending called ASCII. Both systems use the ASCII character set. I looked at the WinVi32 program after I saw this and I see that you are correct. Oops. Thanks. No, that's backwards. It's ASCII mode which correctly transforms line endings. BINARY, as one would expect, preserves the exact binary byte sequence, regardless of consequences. Oops again. Well I knew one of them worked. I just teach it, I shouldn't need to know it, too, should I? <g> I hate Windows anyway. Regards, Christopher D. Prince-Colbath Open Systems Database Administration http://isd.wal-mart.com/informix/html/main.html <http://isd.wal-mart.com/informix/html/main.html> 501-277-3575 *** Wal-Mart Confidential *** -----Original Message----- From: John Porter [SMTP:[email protected]] Sent: Tuesday, April 10, 2001 9:43 AM To: [email protected] Subject: Re: Training Using Windows Chris Prince-Colbath wrote: > The main reason I use Winvi32 is that it will switch between ANSI and ASCII > so you can save the files appropriately for the platform you choose. Um... It may be that Winvi32 has an ANSI mode, but DOS text format, which is distinguished only by the \r\n line ending, is not called ANSI. Neither is Unix's \n line ending called ASCII. Both systems use the ASCII character set. > If you > ftp from UNIX to Windows in binary format, though, you don't have the > problem. No, that's backwards. It's ASCII mode which correctly transforms line endings. BINARY, as one would expect, preserves the exact binary byte sequence, regardless of consequences. -- John Porter ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the individual or entity to whom they are addressed. If you have received this email in error destroy it immediately. **********************************************************************