Tuesday, August 9, 2011

Re: How to display and remove BOM in utf-8 encoded file

Around about 09/08/11 12:37, Carlo Trimarchi typed ...
> The only way I could solve the problem was using notepad++ which has
> an option to explicitly save the file without the BOM. Is there a way
> to do the same thing in Vim? Maybe even to display this BOM?

:set bomb?

Do ':set nobomb' before saving to remove a BOM.

--
[neil@fnx ~]# rm -f .signature
[neil@fnx ~]# ls -l .signature
ls: .signature: No such file or directory
[neil@fnx ~]# exit

--
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

No comments: