We have a tip on the wiki for reading the 'charset' line in HTML to
auto-detect the fenc setting.

http://vim.wikia.com/wiki/Detect_encoding_from_the_charset_specified_in_HTML_files

Can anyone explain the weird use of the 'fileencodings' option in this
tip? I would expect to compare some value to 'fenc' and to 'enc' but
unless I am missing something, I don't think 'fileencodings' should
have any bearing during the BufReadPost autocmd that fires this whole
thing off.

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to