I'm using Vim, installed from the Arch Linux repo.
I've tried adding set fileencodings=utf-8
and set encoding=utf-8
. I've tried with all caps (UTF instead of utf) and putting it in /etc/vimrc
and ~/.vimrc
.
More over, I tried writing a file as UTF-8 using :write ++enc=utf-8
but that didn't work either.
I'm testing the files with file test
and it keeps telling me it's ASCII text. This is a problem since I use non-ASCII characters.