I work on web pages that use non-English scripts from time to time, most of them use utf-8 encoding, VIM and Gvim do not display UTF-8 characters correctly.
Using VIM 7.3.46 for Windows 7 64 bit, with set guifont=Monaco:h10 in _vimrc
Is there any way to fix this?
Update: I googled around and found that set guifontwide acts as a second reserve for regional languages.
I added the following lines to _vimrc, and most of my problems were resolved.
set enc=utf-8 set fileencoding=utf-8 set fileencodings=ucs-bom,utf8,prc set guifont=Monaco:h11 set guifontwide=NSimsun:h12
The above NSimsun font works in Chinese. The problem is that I donβt know how they got the name of the font for working with VIM, Courier New is also referred to as Courier_New and NSimsun nowhere in the font directory. The font I want to use is Latha But I do not know how to use it in the _vimrc file. set guifontwide=latha:h12 or set guifontwide=latha:h12 does not work.
If I successfully installed guifontwide in Latha , then my problem will be solved, how to do it?
vim
Sathish Manohar Mar 02 '11 at 11:11 2011-03-02 11:11
source share