diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2025-09-05 14:16:49 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2025-09-05 14:16:49 +0900 |
| commit | efea70f4594e147b15692bf5cf7dae733bd92147 (patch) | |
| tree | 8b395240eab1ab63d9bebc6753d009a2a240c7c6 | |
| parent | 334d49376dd1afca7427d5e2070d5cc9e270361a (diff) | |
Revert "mac: Fallback empty codeset to UTF-8"
This reverts commit 334d49376dd1afca7427d5e2070d5cc9e270361a.
Seems just `LC_CTYPE` was set to a wrong value.
| -rw-r--r-- | localeinit.c | 3 |
1 files changed, 0 insertions, 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 |
