Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
all: make tests pass on the debian-minimal docker image
Such a minimal system has no extra locales installed, so trying to use "en_US.UTF-8" might fail. Ideally we would want the standard "C" locale, as it is meant for consumption by computers, but unfortunately it also means no built-in UTF-8. However, there's good news; "C.UTF-8" is emerging for our use case. Many systems, like Debian, already ship with it by default. glibc won't include it until 2.35, and Arch ships 2.33, so for the time being, Arch Linux and some other distros lack it. For their sake and mine, fall back to our previous locale. Note that this backport excludes the interp/os_unix.go change in v3.5. It seems a bit too risky for a bugfix backport. Fixes #773.
- Loading branch information