title: Android Studio writing BOM's to UTF-8 file
body: <p>I am working on a project where all the source files are encoded as UTF-8, to please the java compiler (otherwis, it will spit out errors on other encodings). Everytime I save a source file with Android Studio, it will write a Byte Order Mark on the file, preventing the compilation from succeeding. How can I fix this?</p>
  
  <p>As a workaround, I am manually deleting the BOM with a Hex Editor but it gets really annoying.</p>