Make emacs not remove the BOM from XML files

Posted by Vebjorn Ljosa on Super User See other posts from Super User or by Vebjorn Ljosa
Published on 2009-09-14T21:06:30Z Indexed on 2010/05/13 2:25 UTC
Read the original article Hit count: 397

Filed under:
|
|

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?

© Super User or respective owner

Related posts about emacs

Related posts about Xml