diff options
| author | Bram Moolenaar <Bram@vim.org> | 2020-12-21 16:03:02 +0100 |
|---|---|---|
| committer | Bram Moolenaar <Bram@vim.org> | 2020-12-21 16:03:02 +0100 |
| commit | 2e2f52a4a0fd560d37a11a7383a4d52b63ca6cfc (patch) | |
| tree | c4bde05ee74541b38cfb98052cb4dd64ea91c999 /src/testdir/test_python2.vim | |
| parent | ef2dff52de52c17fe1bd7c06cbb32d8955901f5a (diff) | |
| download | vim-git-2e2f52a4a0fd560d37a11a7383a4d52b63ca6cfc.tar.gz | |
patch 8.2.2178: Python 3: non-utf8 character cannot be handledv8.2.2178
Problem: Python 3: non-utf8 character cannot be handled.
Solution: Change the string decode. (Björn Linse, closes #1053)
Diffstat (limited to 'src/testdir/test_python2.vim')
| -rw-r--r-- | src/testdir/test_python2.vim | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/testdir/test_python2.vim b/src/testdir/test_python2.vim index afefd10fe..cf35a50b3 100644 --- a/src/testdir/test_python2.vim +++ b/src/testdir/test_python2.vim @@ -3775,4 +3775,11 @@ func Test_python_keyboard_interrupt() close! endfunc +func Test_python_non_utf8_string() + smap <Esc>@ <A-@> + python vim.command('redir => _tmp_smaps | smap | redir END') + python vim.eval('_tmp_smaps').splitlines() + sunmap <Esc>@ +endfunc + " vim: shiftwidth=2 sts=2 expandtab |
