Regression: "kernel32: Better workaround for the lack of locale environment variables on MacOS"