Hi Fan,

2008/1/21 Fan Decheng <[EMAIL PROTECTED]>:
>
> [...]
> >
> > Here is a snippet from the Vim's reference:
> >
> >         NOTE: Changing this option will not change the encoding of the
> >         existing text in Vim.  It may cause non-ASCII text to become 
> > invalid.
> >         It should normally be kept at its default value, or set when Vim
> >         starts up.  See |multibyte|.  To reload the menus see |:menutrans|.
>
> Thanks. It seems that setting `encoding' before opening the file works.

Yes, it works fine for this case.  But it doesn't necessary means that
it's also OK for all the functions in Vim.  So as a practical
suggestion, never modify the "encoding" as long as you've already
launched Vim.  Only change this option *ONCE* in your .vimrc.

>
> >
>


L. F.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui