Hacker News new | ask | show | jobs
by davidsong 3293 days ago
CRLF unless your audience mostly use Mac or Linux.
1 comments

It seems to me the only thing on Windows that cares about CRLF is Notepad.

Everything else works fine with just LF. A lot of new Windows software even seems to ship with LF format configuration files. Especially games, probably because it is so common to have a Windows game with Linux backend servers, so the developers are working with both.

So anyway, I'd go with just LF unless your software is Windows only.