Which text editors handle both Windows- and Unix-style line breaks properly?

自古美人都是妖i 提交于 2021-02-07 05:20:52

问题


Which text editors (free or commercial) handle character encoding and Windows/Unix line breaks properly?


回答1:


Here's a list of Text editors and their newline support.

Also see this list and look at the Newline conversion field




回答2:


I should think the vast majority do. Certainly Vim and Emacs will.




回答3:


Notepad++ is free and handles this dandily. Not to mention it's quite handy for plenty of other text-editing tasks.




回答4:


textpad does a good job. i like version 4.7 it is much nicer than 5.*




回答5:


Notepad++ is really good.




回答6:


Scintilla and Scite are my favorites but there are lots of good ones that will do what you want




回答7:


On Windows you can use PowerShell ISE for editing files with Unix line breaks.

The only side-effect I observed is that you have to set "Save as type" to "All files" on "Save As..." command to avoid appending .ps1 file extension.




回答8:


I can't think of any that does not. I do not count notepad.exe.




回答9:


Eclipse also does a great job between reformatting between windows and Unix. Additionally as mentioned before, Emacs is great too.




回答10:


I'm having no problems whatsoever with formatting, special characters and umlauts by using IDM UltraEdit.




回答11:


jEdit does it.



来源:https://stackoverflow.com/questions/1001900/which-text-editors-handle-both-windows-and-unix-style-line-breaks-properly

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!