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
Post a Comment