It would be good for WASI to be able to expose the information needed to implement the POSIX LANG, LC_*, and TZ environment variables.
One option would be to literally forward these environment variables through WASI's environment-variable system, however we'll likely want this information in programs which don't otherwise use environment variables, so we should consider a different API -- WASI libc could translate it into the environment variables for compatibility if needed.
It would be good for WASI to be able to expose the information needed to implement the POSIX LANG, LC_*, and TZ environment variables.
One option would be to literally forward these environment variables through WASI's environment-variable system, however we'll likely want this information in programs which don't otherwise use environment variables, so we should consider a different API -- WASI libc could translate it into the environment variables for compatibility if needed.