title: How to set the character encoding for a file in VIM
body: <p>I'm using <code>:set fileencoding=utf-8</code> and the file is saved correctly, but the next time I open it, I get garbled characters and <code>:set fileencoding?</code> says the option isn't set.</p>
  
  <p>From the docs I understand that I shouldn't touch the <code>encoding</code> option.</p>
  
  <p>What's the correct way of specifying an encoding for a file in VIM?</p>