Why do I get different EOL for different files?
What can cause Notepad++ to make new lines as CRLF
in one file and only LF
in the other?
Both files were created at the same folder from the same OS and no modifications to Notepad++ preferences were made, AFAIK... Is there any option in Notepad++ that changes how new lines are 开发者_开发技巧defined?
Go to Edit->EOL Conversion
-- change setting to Windows Format
or Unix Format
or Old Mac Format
(depending on your prefernces)
精彩评论