Re: [libvirt] [PATCH v2 03/24] build: force a UTF-8 locale for python

2019-09-12 Thread Daniel P . Berrangé
On Wed, Sep 11, 2019 at 12:27:45PM -0500, Eric Blake wrote: > On 9/11/19 11:23 AM, Daniel P. Berrangé wrote: > > Python3 versions less than 3.7 have very unhelpful handling > > of the C locale where they assume data is 7-bit only. This > > violates POSIX which requires the C locale to be 8-bit

Re: [libvirt] [PATCH v2 03/24] build: force a UTF-8 locale for python

2019-09-11 Thread Eric Blake
On 9/11/19 11:23 AM, Daniel P. Berrangé wrote: > Python3 versions less than 3.7 have very unhelpful handling > of the C locale where they assume data is 7-bit only. This > violates POSIX which requires the C locale to be 8-bit clean. > Python3 >= 3.7 now assumes that the C locale is always UTF-8.

[libvirt] [PATCH v2 03/24] build: force a UTF-8 locale for python

2019-09-11 Thread Daniel P . Berrangé
Python3 versions less than 3.7 have very unhelpful handling of the C locale where they assume data is 7-bit only. This violates POSIX which requires the C locale to be 8-bit clean. Python3 >= 3.7 now assumes that the C locale is always UTF-8. Set env variables to force LC_CTYPE to en_US.UTF-8 so