How to replace the CR newline character of a text file with the LF newline character
走同樣的路,發(fā)現(xiàn)不同的人生
If it is a windows
system, you can use Notepad instead. You should press ctrl+H
(there is also a menu), a window will pop up, and then replace ^p
(i.e. CR) with ^l
(i.e. LF).
Open with Notepad++.
Edit--"File Format Conversion--" (You can choose one of Windows-CRLF, Unix-LF, and Mac-CR)
You need to set the display line break to see the effect. View--"Show Symbols- -》Display end-of-line characters.