4 ms·
> And I mean, why are any code editors on Windows saving with ^M endings?! Because otherwise, when you open the file on Notepad, it shows up as a single long l
by cesarb 7y ago
> And I mean, why are any code editors on Windows saving with ^M endings?!
Because otherwise, when you open the file on Notepad, it shows up as a single long line (other text editors tend to be smarter and understand both kinds of line endings).
- wlesieutre 7y agoNotepad supports CR, LF, and CRLF now! https://devblogs.microsoft.com/commandline/extended-eol-in-notepad/ https://devblogs.microsoft.com/commandline/extended-eol-in-n...
- Kihashi 7y agoIIRC, MS recently updated notepad to understand Unix line endings, although I'm not sure if it's live for most people. https://devblogs.microsoft.com/commandline/extended-eol-in-notepad/ https://devblogs.microsoft.com/commandline/extended-eol-in-n...