Tweeter buttonFacebook buttonLinkedin button

Set UTF-8 encoding in VIM

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

RSS feed for comments on this post. TrackBack URI

Leave a Reply

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word