mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:8.2.0070: crash when using Python 3 with "debug" encoding
Problem: Crash when using Python 3 with "debug" encoding. (Dominique Pelle)
Solution: Use "euc-jp" whenever enc_dbcs is set.
d518f952f0
This commit is contained in:
parent
a251b588ac
commit
5f0d5ec985
@ -174,8 +174,13 @@ func Test_Catch_Exception_Message()
|
||||
endfunc
|
||||
|
||||
func Test_unicode()
|
||||
throw 'skipped: Nvim only supports "utf-8" for "encoding" option'
|
||||
" this crashed Vim once
|
||||
" set encoding=utf32
|
||||
set encoding=utf32
|
||||
py3 print('hello')
|
||||
" set encoding=utf8
|
||||
set encoding=debug
|
||||
py3 print('hello')
|
||||
set encoding=euc-tw
|
||||
py3 print('hello')
|
||||
set encoding=utf8
|
||||
endfunc
|
||||
|
Loading…
Reference in New Issue
Block a user