How do I remove the BOM character from my xml file

raluxgaza picture raluxgaza · Nov 17, 2008 · Viewed 66.7k times · Source

I am using xsl to control the output of my xml file, but the BOM character is being added.

Answer

Benedikt Waldvogel picture Benedikt Waldvogel · Nov 18, 2008
# vim file.xml
:set nobomb
:wq