TOOL » VIM

Encoding

Encoding / file encoding

vim
set enc=utf-8
set fenc=utf-8
w ++enc=sjis
e ++enc=sjis

Line ending (file format)

vim
set ff=unix
w ++ff=dos
e ++ff=mac