by coldtea · 10y ago · 0 comments
If you need to do those things often, there are specialized tools, including in the command line, and for batch processing.
No need to do it in an editor.
In OS X and Linux (and Windows with Cygwin etc) there are several command line programs such as unix2dos (line ending conversion), iconv (encoding conversions) etc for doing just that, so that you don't need to do it in an editor and can even automate the work.