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.
Read free Software Algorithms and Computer Science Books by CodeAhoy Learn.
Introduction to Recursion and Backtracking