Bram Moolenaar wrote:

> Patch 8.2.0068
> Problem:    Crash when using Python 3 with "utf32" encoding. (Dominique Pelle)
> Solution:   Use "utf-8" whenever enc_utf8 is set. (closes #5423)
> Files:      src/testdir/test_python3.vim, src/if_py_both.h
> For more information, visit http://www.vim.org/maillist.php

Thanks.  That fixes the case I reported with
enc=utf32 or utf16. However, vim-8.2.69 still
crashes with:

$ vim --clean -c'set enc=debug' -c'py3 1'
or
$ vim --clean -c'set enc=euc-tw -c'py3 1'

which gives:

Vim: Caught deadly signal SEGV
                              Vim: Finished.
Segmentation fault (core dumped)

Regards
Dominique

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/CAON-T_hEC%3D%2Bi_diJsnJJbPosf-pSxD01FzMwKOwuxnA7C%3DnGkA%40mail.gmail.com.

Raspunde prin e-mail lui