27 декабря 2011 г. 21:16 пользователь Ben Fritz
<[email protected]>написал:

>
>
> On Dec 21, 3:09 pm, Дмитрий Франк <[email protected]> wrote:
> > > Why is it that you cannot set Vim's encoding to utf-8? Standard
> > > encoding for Vim on my system is latin1 but setting it in Vim to utf-8
> > > doesn't cause any ill effects.
> >
> > I have some other problems with it before, but i have to use standard
> > Windows &encoding 'cp1251', because of if i set my &encoding to 'utf-8',
> > then all messages from Vim becomes garbage. And all shell messages too,
> of
> > course. Here's an screenshot with example, if i have &encoding ==
> 'utf-8' :
> > http://goo.gl/h6sk2
> >
> > There's same other problems, i can't remember now. But if i found some
> > workaround with garbage in messages with &encoding == 'utf-8', i'll be
> glad.
> >
>
> Yeah, that's not supposed to happen! When do you set your encoding? It
> should be pretty much the first thing in your .vimrc for it to work
> properly.
>
>
This is the first thing in my .vimrc, yes. And, btw, if &encoding == utf-8,
persistent undo does not work. With cp1251 works nice.


> --
> You received this message from the "vim_dev" 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
>

-- 
You received this message from the "vim_dev" 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

Raspunde prin e-mail lui