Wow I just noticed that this is a non-issue with windows 7. Just use unix-newlines. The only application (of the few tested) I have found which does not understand unix-newlines as newlines is the useless notepad. For instance it seems the following applications understand unix-newlines just fine in windows 7:
- cmd scripts
- powershell scripts
- word 2013 (I can open a txt file with unix-newlines, though I never
use that, I can also paste text with unix-newlines and get
correct/desired line breaking) - OneNote 2013 (pasting text)
- wordpad (not that I use it)
- Sublime Text 3 (naturally, just on the list because it the best!
- Eclipse
That cmd-scripts work with unix-newlines was the most suprising and crucial feature for me. There are bound to be gotchas that may be discovered over the years, but so far so good. I think Microsoft is trying to help hereā¦
PS: I trust its worthwhile bumping the issue after 3+ years, since I cannot find this information with Google, and I trust mostly everybody watching this topic is still interested in getting rid of the newline-gotchas.