Which text editors (free or commercial) handle character encoding and Windows/Unix line breaks properly?
Scintilla and Scite are my favorites but there are lots of good ones that will do what you want