Ken Takata wrote:

> test_json.vim fails on Japanese Windows:
> 
>   From test_alot.vim:
>   Caught exception: Vim(let):E114: Missing quote: "s=EF=BE=82=EF=BD=A2c=EF=
> =BE=84=EF=BD=B4g=EF=BE=91=E3=83=BB @ C:/work/vim-msvc/src/testdir/test_json=
> .vim, line 15
>   TEST FAILURE
> 
> The following patch fixes this:
> 
> --- a/src/testdir/test_json.vim
> +++ b/src/testdir/test_json.vim
> @@ -1,5 +1,7 @@
>  " Test for JSON functions.
> =20
> +scriptencoding utf-8
> +
>  let s:json1 =3D '"str\"in\\g"'
>  let s:var1 =3D "str\"in\\g"
>  let s:json2 =3D '"\u0001\u0002\u0003\u0004\u0005\u0006\u0007"'

Thanks!

-- 
Time is an illusion.  Lunchtime doubly so.
                -- Ford Prefect, in Douglas Adams'
                   "The Hitchhiker's Guide to the Galaxy"

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