Closed soiamsoNG closed 3 years ago
Thank you for reporting. While I can't reproduce the error output lines from calling locale -a
in the images, I agree we should be using C.UTF-8 as a default. I think we can just bake LANG=C.UTF-8 into the image (as was the case < GHC 8.6). Will post a PR later today to address.
Thank you for reporting. While I can't reproduce the error output lines from calling
locale -a
in the images, I agree we should be using C.UTF-8 as a default. I think we can just bake LANG=C.UTF-8 into the image (as was the case < GHC 8.6). Will post a PR later today to address.I run under podman rig by vscode remote container I do some research this locale incorrect setting introduce by vscode or remote container who set the locale to en_US.UTF-8
we need to bake LANG=C.UTF-8 but not current POSIX.
Also came across this great post about the topic https://serokell.io/blog/haskell-with-utf8
locale -a
returnaffect hGet hPut like function
locale should set to C.UTF-8, to avoid fallback to ASCII since locale setting incorrect