How does Vim specify the presence or absence of a byte-order mark?

When reading a file, if the ‘fileencodings’ option includes “ucs-bom”, Vim will check for a byte-order mark. When writing a file, if the ‘bomb’ option is set, Vim will write a byte-order mark on files whose encoding warrants it.

Comments (1)


Pepsh Pepshinsky

Let’s see you to :help viminfo-file-name (option -i) :set viminfofile=NONE


Speak Your Mind