[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?

This is pretty extensive here, but it's a bit complicated...


More information about the CGit mailing list