Hi,
I apply this code in order to convert encoding format of a file.
" Encode file
exe "tabnew ".FilePath
set encoding=utf-8
set fileencoding=utf-8
exe "w!"
exe "bd!"
Is it possible to do the same thing without opening it in vim and sum up some lines of code?
Thank you
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
Monday, November 5, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment