In versions earlier than 7, Notepad interprets CRLF as a newline. While on Mac/Unix newline is just LF. Have they(MS) added this essential feature in the new Notepad??

PS: Don't have a Win 7 machine around, otherwise would have checked out myself.


Just tried it, and no, Notepad still needs a CR character to insert a new line(Windows 7, build 7600 x64). The following ASCII file (0x0A == LF)

48 65 6c 6c 6f 0a 57 6f  72 6c 64 0a 0a           |Hello.World..|

renders as:

alt text

  • 1
    why Microsoft...why??? boohoooohooo... – detj Nov 6 '09 at 22:08
  • 4
    Cause they would be sued for having included a too powerful text editor in Windows (after IE and Media Player) ;-) – Snark Nov 6 '09 at 22:38

Wordpad always supported this feature, and Wordpad in windows 7 is much enhanced in other ways. It's almost a 'Microsoft Word Lite' now.

  • though worth noting that if you open a word with unix line endings(LF), while it shows it, if you click save, it will save it with windows line endings(CRLF), which may or may not be what you want but is worth knowing about. – barlop May 2 '18 at 16:01

Since Windows 10 1903 it does support unix line endings. This is the announcement blog port.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.