mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:8.2.0068: crash when using Python 3 with "utf32" encoding
Problem: Crash when using Python 3 with "utf32" encoding. (Dominique Pelle)
Solution: Use "utf-8" whenever enc_utf8 is set. (closes vim/vim#5423)
556684ff71
This commit is contained in:
parent
0301de758b
commit
0f47870d1b
@ -172,3 +172,10 @@ func Test_Catch_Exception_Message()
|
||||
call assert_match('^Vim(.*):.*RuntimeError: TEST$', v:exception )
|
||||
endtry
|
||||
endfunc
|
||||
|
||||
func Test_unicode()
|
||||
" this crashed Vim once
|
||||
" set encoding=utf32
|
||||
py3 print('hello')
|
||||
" set encoding=utf8
|
||||
endfunc
|
||||
|
Loading…
Reference in New Issue
Block a user