Personal tools
You are here: Home FAQ How to ... Set UTF-8 encoding in VIM for windows?

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
Document Actions
« January 2009 »
January
MoTuWeThFrSaSu
1234
567891011
12131415161718
19202122232425
262728293031