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

0 Responses to “Set UTF-8 encoding in VIM”


  1. No Comments

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




Slideshow

Get the Flash Player to see the slideshow.

 

August 2009
M T W T F S S
« Jun   Sep »
 12
3456789
10111213141516
17181920212223
24252627282930
31