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