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

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -