>
> As a first attempt, try (in a Vim with 'encoding' set to utf-8)
>
>        :args ~/vimfiles/doc/*.txt
>        :argdo setlocal nobomb | update
>
> to remove all BOMs; then try
>
>        :helptags ~/vimfiles/doc
>
> again. Does it help?

Thank you Tony, that did the trick. One little problem, when i try to
install a new vimball.
I will use as an example netrw.vim
{http://www.vim.org/scripts/script.php?script_id=1075}
For starters, i don't do:

vim netrw.vba.gz
:so %

because i doesn't work, so i first gunzip the vimball, and i end doing:

vim netrw.vba
:so %

now i get the following error :

E670: Mix of file encodings within a language: $HOME\vimfiles\doc\pi_netrw.txt

If i examine the file pi_netrw.txt i see that it has a bom... why
this? Is it because of my settings?

thanks again for your help!
nicolas


PS: is there any way to "pipe" the output of a command (i.e vim
netrw.vba) to a buffer? So that i can provide the exact error...

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

Reply via email to