Change Encoding in Py 2.5

Steven D'Aprano steve at REMOVE-THIS-cybersource.com.au
Fri Jul 23 04:24:34 EDT 2010


On Fri, 23 Jul 2010 09:18:47 +0200, Stefan Behnel wrote:

> Girish, 23.07.2010 08:54:
>> Is ter a way to change default encoding in py 2.5 ?
> 
> Yes, but it's highly discouraged. If you tell us why you want to do it,
> we may be able to point to a better way to get what you want.

I think it is discouraged because it *will* break things in the standard 
library and builtins. It's discouraged in the same way that pouring sugar 
into the petrol tank of your car is discouraged.


-- 
Steven



More information about the Python-list mailing list