summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xlate/xlate.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/xlate/xlate.c b/xlate/xlate.c
index ab1c5f508..6a84c3144 100644
--- a/xlate/xlate.c
+++ b/xlate/xlate.c
@@ -69,6 +69,11 @@ static const char *handle_special_names(const char *page, apr_pool_t *pool)
else if (page == APR_LOCALE_CHARSET) {
return apr_os_locale_encoding(pool);
}
+#ifdef __MVS__
+ else if (!strcasecmp(page, "ISO-8859-1")) {
+ return "ISO8859-1"; /* z/OS ASCII name has no dash after ISO */
+ }
+#endif
else {
return page;
}