Yasuhiro Matsumoto wrote: > When :source following script, if pass multibute string which include 0x5c > in trail byte to the command, E114, E116 occur. > > --------- > scriptencoding utf-8 > > function! s:Foo(s) > echo a:s > endfunction > > command! -nargs=? Foo1 :call <SID>Foo(<args>) > command! -nargs=? Foo2 :call <SID>Foo(<f-args>) > command! -nargs=? Foo3 :call <SID>Foo(<q-args>) > > "Foo1 XX > "Foo2 XX > "Foo3 XX > --------- > * XX mean multibyte which include 0x5c in trail byte. > > Patch is here: https://gist.github.com/1618438 > ( https://raw.github.com/gist/1618438/gistfile1.diff )
Thanks. Thus 0x5c can appear after a backslash? -- A fool must search for a greater fool to find admiration. /// 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
