Edit your .vimrc settings file to include the following line:
set enc=utf-8
And you should be able to edit a UTF-8 file in Windows using gvim.
For Linux, just set the locale to utf-8 such as:
export LANG=en_SG.UTF-8
Juan José Vaca Vadillo :: Non scholae, sed vitae discimus
Edit your .vimrc settings file to include the following line:
set enc=utf-8
And you should be able to edit a UTF-8 file in Windows using gvim.
For Linux, just set the locale to utf-8 such as:
export LANG=en_SG.UTF-8
0 Responses to “Set UTF-8 encoding in VIM”