On Wed, Apr 22, 2009 at 4:26 AM, 张书瀚 <[email protected]> wrote:
> May be you want to try it:
> FencView.vim : Autodetect multiple encodings
> http://www.vim.org/scripts/script.php?script_id=1708

Thanks for the reference.

When I:
1.  updated my iconv.dll
2.  Installed the plugin
3.  Added let g:fencview_autodetect = 1  to my vimrc

When I opened the file I get the message (as mentioned on a previous reply):
"rad29CC8.outlook" [converted][CONVERSION ERROR in line 377] 424L, 11122C

In my vimrc I do not set:
encoding
fileencoding
fileencodings

But when I display them I see:
encoding?        = latin1
fileencoding?   =
fileencodings? = ucs-bom

After the file has failed to convert, none of the FencAutoDetect
options work since it reports:
"File is modified!"

So it looks like it is too late to use that after the fact.

Dave

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

Reply via email to