[Freeipa-devel] [PATCH] 561 set default python encoding to utf-8

Simo Sorce ssorce at redhat.com
Fri Oct 22 21:48:29 UTC 2010


On Wed, 06 Oct 2010 13:51:22 -0400
Rob Crittenden <rcritten at redhat.com> wrote:

> Add a module that we will load that will set the default encoding to 
> utf-8 instead of ascii.
> 
> $ python
>  >>> import sys
>  >>> sys.getdefaultencoding()
> 'ascii'
>  >>> import default_encoding_utf8
>  >>> sys.getdefaultencoding()
> 'utf-8'
> 
> This will be linked into IPA in a future patch. The code was written
> by John, I'm just packaging it, so he gets all the credit :-)
> 
> Since I was messing with the spec file I also removed glob that was 
> pulling in a slew of duplicate files for the UI.

Ack.

-- 
Simo Sorce * Red Hat, Inc * New York




More information about the Freeipa-devel mailing list