Revision 334d4937
Added by nobu (Nobuyoshi Nakada) 4 days ago
mac: Fallback empty codeset to UTF-8
Workaround for a very strange behavior in macOS (reported about 10.15
at least): nl_langinfo(CODESET)
returns an empty string until the
parent shell sets LC_CTYPE
(even if it doesn't export it).