0
0
mirror of https://github.com/vim/vim.git synced 2025-10-02 05:04:20 -04:00

patch 8.2.0074: Python 3 unicode test someitmes fails

Problem:    Python 3 unicode test someitmes fails.
Solution:   Make 'termencoding' empty.  Correct number of error message.
This commit is contained in:
Bram Moolenaar
2020-01-01 16:18:38 +01:00
parent ea8b7aecab
commit 4b7cdca230
5 changed files with 12 additions and 3 deletions

View File

@@ -170,11 +170,18 @@ endfunc
func Test_unicode()
" this crashed Vim once
let save_tenc = &tenc
set tenc=
set encoding=utf32
py3 print('hello')
set encoding=debug
py3 print('hello')
set encoding=euc-tw
py3 print('hello')
set encoding=utf8
let &tenc = save_tenc
endfunc