Set UTF-8 encoding in VIM for windows?
by
Kuiyu Chang
—
last modified
Aug 25, 2008 04:42 PM
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

