Christian Brabandt wrote:

> On Fr, 20 Nov 2015, Danek Duvall wrote:
> 
> > On Fri, Nov 20, 2015 at 03:35:08PM -0800, h_east wrote:
> > 
> > > Appveyor test94 FAILED in this version or later. 
> > > https://ci.appveyor.com/project/chrisbra/vim
> > > 
> > > Test passed on Linux.  Only Appveyor faild.
> > 
> > I'm seeing this failure (I think) on Solaris, but the key is to run the
> > test with LC_ALL=C.  If I run the test in en_US.UTF-8, it passes just fine.
> > Here's the diff:
> > 
> >     --- test94.ok   Fri Nov 20 14:49:08 2015
> >     +++ test94.failed       Fri Nov 20 15:49:51 2015
> >     @@ -115,7 +115,7 @@
> >      
> >      gv in exclusive select mode after operation
> >      zzz 
> >     -xxx 
> >     +xxxっ 
> >      ---
> 
> Looks like the multibyte chars are not handled correctly. This patch 
> should fix it. Actually, I thought I submitted the patch with 'äää' not 
> sure, why the test ended up with 'äÃ'. I am surprised this actually 
> worked.
> 
> diff --git a/src/testdir/test94.in b/src/testdir/test94.in
> --- a/src/testdir/test94.in
> +++ b/src/testdir/test94.in
> @@ -214,7 +214,7 @@ k$v$p
>  :$put =''
>  :$put ='gv in exclusive select mode after operation'
>  :$put ='zzz '
> -:$put ='äà '
> +:$put ='AAA '
>  :set selection=exclusive
>  kv3lyjv3lpgvcxxx
>  :$put ='---'

Perhaps it's better to leave the multi-byte characters, so that we test
that it works for that.  Setting 'encoding' in the test should make it
pass also on other systems.

When I got the patch the characters were messed up, like thy were utf-8
encoded twice.  I had to change them to make it work.

-- 
hundred-and-one symptoms of being an internet addict:
120. You ask a friend, "What's that big shiny thing?" He says, "It's the sun."

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" 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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui