On 8 December 2014 at 17:11, Greg Plowman <[email protected]> wrote:
>
> The file contains LF only, which apparently Notepad doesn't interpret
> properly.
> Interestingly, the equivalent C code (Visual C++ for Windows) creates CR/LF
> pairs. Presumably this is Microsoft specific, specifically for Windows??

Different conventions apply for different operating systems when it
comes to newlines [1].  This is in many ways horribly, but something
that most editors take into account so that you don't have to worry
about it.

    Pontus

[1]: https://en.wikipedia.org/wiki/Newline#Representations

Reply via email to