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

2010-10-22 Thread Rob Crittenden
Simo Sorce wrote: On Wed, 06 Oct 2010 13:51:22 -0400 Rob Crittenden 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.getdefaulte

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

2010-10-22 Thread Simo Sorce
On Wed, 06 Oct 2010 13:51:22 -0400 Rob Crittenden 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()