From efea70f4594e147b15692bf5cf7dae733bd92147 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Fri, 5 Sep 2025 14:16:49 +0900 Subject: [PATCH] Revert "mac: Fallback empty codeset to UTF-8" This reverts commit 334d49376dd1afca7427d5e2070d5cc9e270361a. Seems just `LC_CTYPE` was set to a wrong value. --- localeinit.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/localeinit.c b/localeinit.c index ed0cc6e433..cea2e309f5 100644 --- a/localeinit.c +++ b/localeinit.c @@ -55,9 +55,6 @@ locale_charmap(VALUE (*conv)(const char *)) #elif defined HAVE_LANGINFO_H codeset = nl_langinfo(CODESET); ASSUME(codeset); -# ifdef __APPLE__ - if (!*codeset) codeset = "UTF-8"; -# endif #else # error locale_charmap() is not implemented #endif