Change Encoding in Py 2.5

S

Stefan Behnel

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.

Stefan
 
S

Steven D'Aprano

Girish, 23.07.2010 08:54:

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.
 
S

Stefan Behnel

Christian Heimes, 23.07.2010 15:26:
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.

Mythbusters have tested this urban legend. In their test the engine run
better with sugar. [1]

"Did you blow up your car testing that out?"
- "No, I just read comp.lang.python."

Stefan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top