> Hi,
>
> Vlad Irnov wrote:
>
> > The culprit is indeed Vim option 'ignorecase'. I can reproduce this on
> > Win2k, 32-bit, Vim 7.3.145, Normal version.
>
> > :let ignorecase_saved = &ignorecase
> > :set noignorecase
> > :echo 'DONE' > ''
> > :set ignorecase
> > :echo 'DONE' > ''
> > :let &ignorecase = ignorecase_saved
> > :unlet ignorecase_saved
>
> > 1
> > 0
>
> I cannot reproduce this with Vim/GVim 7.3.198 on Windows 7, 64-bit. For
> me
>
> 1
> 1
>
> is echoed.
>
> Regards,
> J�rgen
>
Oops, I forget to test without sourcing vimrc and plugins, sorry about
that.
Encoding is somehow involved. Please try the following code after
starting Vim via
gvim.exe -u "NONE" -U "NONE"
:set enc=latin1
:set noignorecase
:echo 'DONE' > ''
:set ignorecase
:echo 'DONE' > ''
:
:set enc=utf-8
:set noignorecase
:echo 'DONE' > ''
:set ignorecase
:echo 'DONE' > ''
With my current Vim 7.3.145 I get wrong result
1
1
1
0
with my old Vim 7.2, patches 119 and 161 only, I get correct result
1
1
1
1
Regards,
Vlad
--
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
No comments:
Post a Comment