mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.2178: Python 3: non-utf8 character cannot be handled
Problem: Python 3: non-utf8 character cannot be handled. Solution: Change the string decode. (Björn Linse, closes #1053)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user