Daniel P. Berrangé ada268012a build: force a UTF-8 locale for python
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 that
we get UTF-8 handling on all python versions. Note we do
not use C.UTF-8 since not all C libraries support that.

Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2019-09-24 15:46:22 +01:00
..
2016-11-21 13:15:12 +01:00
2019-07-31 11:46:31 +02:00
2019-06-20 17:01:44 +02:00
2019-08-29 12:46:33 +01:00
2017-10-16 10:22:34 +01:00
2019-09-03 15:37:54 -06:00
2018-05-03 12:40:37 +01:00
2019-04-09 16:59:49 +02:00
2019-09-03 15:37:54 -06:00
2019-08-28 13:39:26 +02:00
2018-12-17 17:52:46 +01:00
2018-12-17 17:52:46 +01:00
2019-08-28 13:39:26 +02:00
2019-08-28 13:39:26 +02:00
2018-04-01 17:42:29 +02:00
2017-08-02 15:00:28 -04:00
2019-08-28 13:39:26 +02:00
2019-07-09 10:42:39 -05:00