Saluton Tuomas :)

> To open it correctly (and it worked for me), I launched Vim and issued
> ":e ++enc=cp1250 AE.txt". I don't know how to do this on the command
> line, but if you have to work with a lot of cp1250 files you would have
> to add "cp1250" to the list in "fileencodings", before "latin1".

Easy: "vim --cmd "set fileencodings=cp1250" AE.txt

Please, note the "s", it's fileencodingS, not fileencoding.

If you only have a monobyte encoding in "fencs" (alias for
"fileencodings") it will always success, no matter what. So, by telling
vim in fencs that only "cp1250" is available, it will use that encoding.

The problem is that, in that Vim session, if you open a latin1 file it
will be opened using cp1250, so I prefer the first method I told you,
using ":e ++enc".

-- 
Raúl "DervishD" Núñez de Arenas Coronado
Linux Registered User 88736 | http://www.dervishd.net
It's my PC and I'll cry if I want to... RAmen!

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

Reply via email to