Change file encoding in Vim

June 15, 2018
vim linux reference

This is for my own reference, I always forget how to do this..

Once
:w[rite] ++enc=utf-8 [filename]

Persistently
:set fileencoding=utf-8

You can verify that this post was written by me by pasting the signature into keybase.io/verify.