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

2017-03-17 Thread Roy Marples
On 17/03/17 20:04, John Keeping wrote: > Other people have already found that it's not quite that simple [2] if > we want it to work on all systems. Patch author wants it to run on NetBSD as that's what I use :) The default locale for daemons such as CGI processes should always be C as that saves

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

2017-03-17 Thread John Keeping
On Fri, Mar 17, 2017 at 07:07:02PM +0100, Jason A. Donenfeld wrote: > On Sun, Mar 12, 2017 at 6:51 PM, John Keeping wrote: > > While I'm inclined to agree with this, in this particular case we > > explicitly encode pages as UTF-8 so there is an argument that we should > > be telling child processe

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

2017-03-17 Thread Jason A. Donenfeld
On Sun, Mar 12, 2017 at 6:51 PM, John Keeping wrote: > While I'm inclined to agree with this, in this particular case we > explicitly encode pages as UTF-8 so there is an argument that we should > be telling child processes that UTF-8 is the correct encoding. That's a compelling argument, actuall