GHC stdout Unicode output fails under POSIX locale in production container
Goal A Haskell program prints non-ASCII text to stdout and succeeds on a UTF-8 developer machine, but the same compiled binary raises a text-decoding exception in a minimal production container. The goal is to diagnose whether GHC's default handle encoding follows the C library locale. Constraints GHC 7.8 and later open stdin, stdout, and stderr using the lo