EOL in Notepad++ and Notepad

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++??


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.

Notepad++ menu - Edit - EOL Conversion - Windows (CR LF)