changeset 19037:9bb2a4f6296a v8.2.0079

patch 8.2.0079: Python 3 unicode test still fails on MS-Windows Commit: https://github.com/vim/vim/commit/7fc4785ea19306b7e94beb61f226cf40c32b1aba Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 2 16:38:07 2020 +0100 patch 8.2.0079: Python 3 unicode test still fails on MS-Windows Problem: Python 3 unicode test still fails on MS-Windows. Solution: Do not set 'encoding' to "euc-tw" on MS-Windows.
author Bram Moolenaar <Bram@vim.org>
date Thu, 02 Jan 2020 16:45:03 +0100
parents dc1c53fdfb4e
children b8825a7664f3
files src/testdir/test_python3.vim src/version.c
diffstat 2 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_python3.vim
+++ b/src/testdir/test_python3.vim
@@ -180,10 +180,10 @@ func Test_unicode()
   if !has('win32')
     set encoding=debug
     py3 print('hello')
+
+    set encoding=euc-tw
+    py3 print('hello')
   endif
 
-  set encoding=euc-tw
-  py3 print('hello')
-
   set encoding=utf8
 endfunc
--- a/src/version.c
+++ b/src/version.c
@@ -743,6 +743,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    79,
+/**/
     78,
 /**/
     77,