set nobomb not removing byte oredr mark in vim -


i want remove ''\xef\xbb\xbf' marks (bom) file. it's text file fed python, , bom marks causing problems there. tried :set nobomb still there. how can solve problem , might have caused problem?

update: file obtained combining (concatenating) may other file (using obabel software) each of has bom. so, set nobomb removes bom mark @ beginning of new file. in such casse, how can remove boms?

if byte sequences embedded in buffer, a

:%substitute/\%ufeff//g 

might trick.


Comments

Popular posts from this blog

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -