EOL in Notepad++ and Notepad

45

3

I'm using Notepad++ to create some text file, but I noticed when the generated file is opened in Windows Notepad, the file contents get mal-formated due to the fact that Notepad++ use LF and EOL character, while Notepad expects CR + LF.

Is there any way to change this behavior in Notepad++??

Hadi Eskandari

Posted 2010-05-22T18:02:51.030

Reputation: 603

Answers

65

I guess you're looking for the Notepad++ menu entry "Edit -> EOL Conversion". You can convert to Windows/Linux/Mac EOL there. The current format is displayed in the status bar.

schnaader

Posted 2010-05-22T18:02:51.030

Reputation: 1 810

Already checked all menus...I can't find EOL Conversion anywhere...which version are you using? I'll accept the answer, probably I'm using an older version of the product. – Hadi Eskandari – 2010-05-22T18:29:50.857

0

I'm using Version 5.7. In that version, you can go to Edit -> EOL Conversion and change the format of the end of line character between MAC, Windows and Unix.

Bert6623

Posted 2010-05-22T18:02:51.030

Reputation: 9

5Why did you post almost the same answer as the accepted one some months later? – Sk8erPeter – 2013-09-04T18:40:19.173