![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I tend to move files back and forth from Mac to Windows to *nix. My windows editor (NoteTab) is unable to recognize the Mac linefeeds and tends to make long lines of everything with little square boxes where the linefeeds were. |
|
So what format is best for exchanging documents between different OS's? DOS/Windows Mac UNIX EBCDIC Dos ASCII ??? And just what is the difference between ASCII and ANSI? I'm unsure what the linefeed are, my catchalls seem to be: /\r\n|\n|\r/ /\f/ I think the \r\n is windows, \n is UNIX and the \f is Mac Is it better to use the numeric equivalents? Jeff |
#3
| |||||
| |||||
|
|
Jeff Thies wrote: So what format is best for exchanging documents between different OS's? |
|
I think you're getting three different concepts muddled up. Firstly character set -- use UTF-8 or ISO-8859-15, not ASCII. ASCII hugely limits which characters you'll be able to use. It has no £ nor € for instance. |
|
Secondly, use Windows line endings. Most Unix editors and many Mac editors should be able to both read and write Windows line endings. Certainly Nedit and Nano on Linux can. |
|
Thirdly, ignore ANSI -- it will only be important to you if you're doing text-mode DOS programming in fancy colours. |
![]() |
| Thread Tools | |
| Display Modes | |
| |