comparison src/option.h @ 34120:7d9358937eb9 v9.1.0024

patch 9.1.0024: z/OS (MVS) support can be improved Commit: https://github.com/vim/vim/commit/497e5282b6d21b99c01c6ecc6bf41b9b1781df6a Author: Igor Todorovski <itodorov@ca.ibm.com> Date: Fri Jan 12 17:59:18 2024 +0100 patch 9.1.0024: z/OS (MVS) support can be improved Problem: z/OS (MVS) support can be improved Solution: set UTF-8 as the default encoding for z/OS closes: #13821 Signed-off-by: Igor Todorovski <itodorov@ca.ibm.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Fri, 12 Jan 2024 18:15:02 +0100
parents 6e4c686b6b5b
children 92452a65138e
comparison
equal deleted inserted replaced
34119:d59bf8151c23 34120:7d9358937eb9
128 128
129 // Possible values for 'encoding' 129 // Possible values for 'encoding'
130 #define ENC_UCSBOM "ucs-bom" // check for BOM at start of file 130 #define ENC_UCSBOM "ucs-bom" // check for BOM at start of file
131 131
132 // default value for 'encoding' 132 // default value for 'encoding'
133 #ifdef MSWIN 133 #if defined(MSWIN) || defined(__MVS__)
134 # define ENC_DFLT "utf-8" 134 # define ENC_DFLT "utf-8"
135 #else 135 #else
136 # define ENC_DFLT "latin1" 136 # define ENC_DFLT "latin1"
137 #endif 137 #endif
138 138