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

Winapi c++: DialogBox hangs when breaking a loop -

vb.net - Font adding using PDFsharp -

javascript - jQuery iScroll clickable list elements while retaining scroll? -