Re: [Libosinfo] [PATCH] force a UTF-8 locale for python3 to avoid broken ascii codec

2019-09-05 Thread Fabiano Fidêncio
On Wed, Mar 27, 2019 at 10:57 AM Daniel P. Berrangé wrote: > > The python3 ascii codec violates POSIX C locale requirements by not being > 8-bit clean in its text handling. It raises an error for any byte with > top bit set > > > return codecs.ascii_decode(input, self.errors)[0] > E

Re: [Libosinfo] [PATCH] force a UTF-8 locale for python3 to avoid broken ascii codec

2019-09-05 Thread Daniel P . Berrangé
On Thu, Sep 05, 2019 at 07:08:27PM +0200, Fabiano Fidêncio wrote: > On Wed, Mar 27, 2019 at 10:57 AM Daniel P. Berrangé > wrote: > > > > The python3 ascii codec violates POSIX C locale requirements by not being > > 8-bit clean in its text handling. It raises an error for any byte with > > top bit

Re: [Libosinfo] [PATCH] force a UTF-8 locale for python3 to avoid broken ascii codec

2019-09-05 Thread Andrea Bolognani
On Thu, 2019-09-05 at 18:19 +0100, Daniel P. Berrangé wrote: > On Thu, Sep 05, 2019 at 07:08:27PM +0200, Fabiano Fidêncio wrote: > > It seems to happen because both debian & fedora (30+) containers do > > not have the required locale. > > I'd like to ask your suggestion on how to proceed here: > >