Dominique wrote:

> 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)

Hmm, so "euc-jp" works but "euc-tw" doesn't.  How are we supposed to
know that?

When enc_dbcs is set we can use "euc-jp", because it appears to work.
It's not quite right though.

-- 
ARTHUR: Listen, old crone!  Unless you tell us where we can buy a shrubbery,
        my friend and I will ... we will say "Ni!"
CRONE:  Do your worst!
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
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/202001011357.001Dv2Ss006993%40masaka.moolenaar.net.

Raspunde prin e-mail lui