The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Как через VIM убрать BOM:
:setlocal nobomb
:w ++bin
:wq
Второй вариант неинтерактивный:
# vi -c ":set nobomb" -c ":wq" text.xml