Revert "mac: Fallback empty codeset to UTF-8"

This reverts commit 334d49376dd1afca7427d5e2070d5cc9e270361a.
Seems just `LC_CTYPE` was set to a wrong value.
This commit is contained in:
Nobuyoshi Nakada 2025-09-05 14:16:49 +09:00
parent 334d49376d
commit efea70f459
No known key found for this signature in database
GPG Key ID: 3582D74E1FEE4465

View File

@ -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