[IPython-dev] Error in test_unicode for InputSplitter

Robert Kern robert.kern at gmail.com
Fri Oct 29 20:26:58 EDT 2010


On 2010-10-29 18:48 , MinRK wrote:
> Check the default encoding.  It could be that your Python's default encoding is
> ascii, or some other such thing, causing a problem.
>
> sys.getdefaultencoding()
>
> Somethings this is utf8, sometimes it's ascii.

It should never, ever be anything but ascii. If you have it set to something 
else, you have a broken Python.

-- 
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 IPython-dev mailing list