It sounds strange, but for its 20 years of existence, Notepad only supported Windows End of Line (EOL) characters. These are Carriage Return (CR) & Line Feed (LF).
Thankfully, that’s no longer the case — at least for anyone running the latest Insider build of Windows 10. Although Notepad defaults to Windows EOL characters by default, it can now read, edit and print Unix/Linux and Macintosh line endings.
See also : https://thenextweb.com/dd/2018/05/09/notepad-now-properly-displays-textfiles-created-on-unix-systems/