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

Vratislav Podzimek vpodzime at redhat.com
Mon Dec 1 13:50:11 UTC 2014


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.

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic



More information about the anaconda-patches mailing list