[IPython-dev] Error in test_unicode for InputSplitter
Min RK
benjaminrk at gmail.com
Fri Oct 29 20:39:03 EDT 2010
My mistake. I do remember there being an earlier problem related to someone's default encoding.
What would be broken if Python's default encoding were utf8? Why is this a configurable option, if everything but ascii is broken?
-MinRK
On Oct 29, 2010, at 17:26, Robert Kern <robert.kern at gmail.com> wrote:
> 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
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
More information about the IPython-dev
mailing list