Hacker News new | ask | show | jobs
by jandrese 13 days ago
> DO NOT get it from github or transfer the files via FTP.

I bet the author doesn't know about FTP's ASCII mode, and especially doesn't know that it is the default.

ASCII mode was a nifty feature, but it never should have been the default. Especially when you consider that most text files are small and easy to re-download if you forget, while binary files are often quite large and the damage done by the line ending conversion is close to impossible to repair. Also, if you forget to convert a text file you can trivially do it on the host afterward.

2 comments

If it's not that, it's older Windows not having unicode support, or Unix vs Windows line feeds...
> bet the author doesn't know about FTP's ASCII mode,

I bet he does! Anyone coding before the web would know about that.

>I bet he does! Anyone coding before the web would know about that.

It's easy to forget though, especially if the client or the server decides to change modes on it's own.