mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 12:34:21 +00:00
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:
parent
334d49376d
commit
efea70f459
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user