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
« March 2010 »
March
MoTuWeThFrSaSu
1234567
891011121314
15161718192021
22232425262728
293031