On Thu, Jul 21, 2016 at 10:16:22AM +0200, Bram Moolenaar wrote:

> Danek Duvall wrote:
>
> > There seem to be issues when running the test in the C locale.  I'm getting
> > a bunch of lines like the following (copy/pasted, so somewhat corrupted):
> > 
> >     function RunTheTest[9]..Test_digraphs line 5: Expected '¿' but got 'â'
> >     function RunTheTest[9]..Test_digraphs line 10: Expected 'þ' but got 'þ'
> > 
> > (depending on whether I view test.log in utf8 or latin1, one or the other
> > will be correct).
> > 
> > If I put "set encoding=utf-8" right before the "scriptencoding" line (like
> > many other tests do), it works.
> 
> Thanks for checking that.  I suspect that the switching back and forth
> messes up the stored text.  I have sent out a patch to run this test
> separately.

Works for me; thanks!

> We might want to set 'encoding' to utf-8 always, and only run specific
> tests with a different encoding, instead of leaving it to the system
> default.

Certainly sounds reasonable to me.

Danek

-- 
-- 
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