Saturday, August 28, 2010

Re: vim can't display characters properly(in other languages besides english).....

On 8/28/10, aksr <aksr.1111@gmail.com> wrote:
> windows xp sp2
> latest vim (7.3)
> -------
> when i change the language for my keyboard(to serbian latin):
>
> if i put ":set encoding=latin1"
> then i get this:
> for chars(č,ć,š,đ,ž) i get(c,c,BS,d,BS): č-c, ć-c, š-(black square), đ-
> d, ž-(black square)
> ..and if i put ":set encoding=utf-8"
> i get, for all(čćšđž), "black squares"...
> other characters are displayed properly and layout(for the keyboard,
> when i change language) is fine..

Aside from changing the encoding and keymap, have you changed which
font Vim is using? Last time I used Vim on a Windows box it used the
Fixedsys font (at least, I think it was Fixedsys..) by default, which
doesn't have all of the characters you need. So, for example, every
time I type in another language -- Vietnamese, which needs lots of
extra characters too -- I change the encoding to UTF-8, set the
keymap, and change the font to something better. I really like 'Droid
Sans Mono', but 'Courier New' will do in a pinch ;)

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment