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
Source: http://research.mosuma.com/faq/howto/vim-utf8
Posted by lexo @ 7:38 pm
Name
Mail (will not be published)
Website
Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.
Anti-spam word: (Required)* To prove you're a person (not a spam script), type the security word shown in the picture.