Steve Losen scl@sasha.acc.virginia.edu writes:
However, we do recommend installing NoteTab Light on Windows and using that instead of standard Windows NotePad. NoteTab accepts all three text file line terminators: LF (unix) CRLF (dos) CR (Apple) and will generate output using any of these.
The same applies to recent versions of Emacs, which is available on all three platforms. By default, it autodetects the line break convention used in a file and preserves it through editing and saving.