[master/f21-branch][PATCH] Make Python's default encoding detection work on Live installations (#1169019)

David Shea dshea at redhat.com
Mon Dec 1 15:00:46 UTC 2014

On 12/01/2014 08:50 AM, Vratislav Podzimek wrote:
> On Mon, 2014-12-01 at 08:39 -0500, David Shea wrote:
>> On 12/01/2014 07:46 AM, Vratislav Podzimek wrote:
>>> If LC_ALL is not defined, Python's detection of default encoding gives us
>>> 'ascii' as the default codec on Live installations. Setting LC_ALL to $LANG
>>> makes it work better and give us 'utf-8'.
>>> Signed-off-by: Vratislav Podzimek <vpodzime at redhat.com>
>>> ---
>> We don't set $LC_ALL on non-live, either. What is this trying to fix?
> For some reason, the default encoding detection works on non-live (gives
> 'utf-8'). This makes it work on Live as well.

Well that's weird. But if it works, sure, ack.

More information about the anaconda-patches mailing list