Good afternoon.
I have the files in cp-1251, containing Cyrillic characters. When I edit such a file, I have to install
:set encoding=cp1251
:set fileencoding=cp1251
Can vim to determine the file encoding cp1251 and set appropriate values of encoding and fileencoding?
Part of the project files in cp1251, some in utf8. It would be no problem to work with vim switch to different project files without problems with the permanent installations necessary encoding of the terminal and the file.
I feel somewhat inaccurate, but I hope ponyatno.