getdefaultencoding - how to change this?

Robert Kern robert.kern at gmail.com
Thu Jan 20 11:47:42 EST 2011


On 1/20/11 9:47 AM, Philip Semanchuk wrote:

> I'm glad that worked for you. Alternatively, it seems like you can set the default encoding in site.py which sounds easier than recompiling Python.

Never do that. It breaks dicts and makes your code non-portable.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
  that is made terrible by our own mad attempt to interpret it as though it had
  an underlying truth."
   -- Umberto Eco




More information about the Python-list mailing list