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

Go To StackoverFlow.com

9

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

2009-06-16 14:36
by bluegene


16

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

Also see this list and look at the Newline conversion field

2009-06-16 14:38
by Ólafur Waage
Nice! This looks quite useful - John Feminella 2009-06-16 14:39
Great link, Thanks - chills42 2009-06-16 14:39
I noticed that according to that link the MS DOS editor supports all types, while notepad (which I suppose you could call the windows editor) only supports 1. Crazy - Simon P Stevens 2009-06-16 14:40
MS-Dos editor support is as so. "Editor converts Unix newlines to DOS newlines - Ólafur Waage 2009-06-16 14:43


5

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

2009-06-16 14:37
by Brian Agnew


4

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

2009-06-16 14:38
by John Feminella


1

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

2009-06-16 14:37
by mkoryak
I like it too - it has neat regular expression search and replace built into it (not as strong as the unix one though - David Rabinowitz 2009-06-17 20:00


1

Notepad++ is really good.

2009-06-16 14:38
by Syed Tayyab Ali


1

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

2009-06-16 14:39
by kloucks


0

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

2009-06-16 14:38
by Jonas Elfström


0

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

2009-06-16 14:39
by NoName


0

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

2009-06-16 14:40
by merkuro


0

jEdit does it.

2009-06-17 09:21
by Mnementh


0

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.

2016-01-04 14:41
by Victor Ashik
Ads