On Jun 13, 2:19 am, Karol Samborski <[email protected]> wrote: > 2011/6/11 Ben Schmidt <[email protected]>: > > > What do you see after opening the file for > > > :verbose set fenc? > > > ? Perhaps that will give you a clue how fenc is being set. > > When I entered this command I saw that the cause of my problem was > AutoFenc plugin so I removed it and it worked! >
I use (and really like) this plugin. Perhaps you just have it misconfigured? I think by default it uses an external tool to try to determine the encoding before it tries anything else. I disabled this option so that it only tries to find the encoding for files which contain the encoding in their text (e.g. <meta> tags in HTML). I wonder if there is a way to detect in a script whether the user specified an encoding with :e ++enc or the like. It would probably be best if this plugin did not override user-specified encodings. -- 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
