Make emacs not remove the BOM from XML files
- by Vebjorn Ljosa
I use Emacs to edit an XML file that is also read by another application. The other application requires that the file start with a byte-order marker (BOM). However, Emacs seems to remove the BOM every time I edit the file. Is there a way to make Emacs leave the BOM alone?