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
« September 2010 »
September
MoTuWeThFrSaSu
12345
6789101112
13141516171819
20212223242526
27282930