Get encoding from Vim