Hi, guys.

I want to thank you all the ideas. My current setting of 'fenc' is:

fencs=ucs-bom,latin1,utf-8,utf-16le
fenc=latin1 bomb

This works fine when I have two or more files opened in VIM with latin1 and
utf-16 encodings. When I switch out and back utf-16 files VIM recognizes then
correctly. But this does not work wit utf-8 and latin1 encodings. Off course,
all utf-8 characters are valid latin1 characters so, VIM does not know that is
a utf-8 file and uses latin1.

I'm currently loading the file with ':e ++enc=utf-8', with also works fine.
But, when I need to jump out of this buffer and later come back, the encoding
is setted by VIM as latin1. There is a way to tell VIM that it's a utf-8
file and when I jump out of the buffer and later come back this setting
remains unchanged?

Best regards,
Alessandro Antonello

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

Reply via email to