From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason at zx2c4.com (Jason A. Donenfeld) Date: Sun, 12 Mar 2017 10:01:10 -0700 Subject: [PATCH] filter: set environment variable PYTHONIOENCODING to utf-8 In-Reply-To: <20170309001002.GF2102@john.keeping.me.uk> References: <20170223154823.18206-1-roy@marples.name> <20170304123521.GC2102@john.keeping.me.uk> <20170309001002.GF2102@john.keeping.me.uk> Message-ID: Hey guys, Sorry for the delay. I'm currently on the road traveling and won't be properly back at my desk until the end of next week. However, my initial reaction is that hard coding various interpreter-specific environment variables in cgit itself is not correct, and that this is something better left to the CGI environment as it sees fit. However, we may benefit from explicit script level configuration of unicode stuff. I'll revisit this next week. Jason