summaryrefslogtreecommitdiffstats
path: root/src/option.h
diff options
context:
space:
mode:
authorIgor Todorovski <itodorov@ca.ibm.com>2024-01-12 17:59:18 +0100
committerChristian Brabandt <cb@256bit.org>2024-01-12 17:59:18 +0100
commit497e5282b6d21b99c01c6ecc6bf41b9b1781df6a (patch)
tree77bf336e39600306a141a9138176da0588be914d /src/option.h
parent48a75f3dfb906a2d333a7b1c3545e2eb359596db (diff)
patch 9.1.0024: z/OS (MVS) support can be improvedv9.1.0024
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>
Diffstat (limited to 'src/option.h')
-rw-r--r--src/option.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/option.h b/src/option.h
index 646056bf11..0cf6a8cf6d 100644
--- a/src/option.h
+++ b/src/option.h
@@ -130,7 +130,7 @@ typedef enum {
#define ENC_UCSBOM "ucs-bom" // check for BOM at start of file
// default value for 'encoding'
-#ifdef MSWIN
+#if defined(MSWIN) || defined(__MVS__)
# define ENC_DFLT "utf-8"
#else
# define ENC_DFLT "latin1"