[PATCH] filter: set environment variable PYTHONIOENCODING to utf-8

Jason A. Donenfeld Jason at zx2c4.com
Thu Aug 10 16:04:52 CEST 2017


For the time being I'm going to NACK the PYTHONIOENCODING patch until
we have a good solution for modifying LANG. I don't think it's proper
to make a laundry list of interpreter-specific variables; it could get
out of control eventually.

What are our options? Wait for C.UTF-8 to be available everywhere?
Parse LANG to determine the actual language, and then remove the end
and add on ".utf-8", as in John's example?

https://github.com/commercialhaskell/stack/commit/478ca7118372fe9a500430cae36924ae64e147c6
This is pretty extensive here, but it's a bit complicated...

Jason


More information about the CGit mailing list