[IPython-dev] Error in test_unicode for InputSplitter

MinRK benjaminrk@gmail....
Fri Oct 29 18:48:56 CDT 2010


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.

-MinRK

On Fri, Oct 29, 2010 at 16:34, Fernando Perez <fperez.net@gmail.com> wrote:

> Hey,
>
> On Fri, Oct 29, 2010 at 11:15 AM, Brian Granger <ellisonbg@gmail.com>
> wrote:
> >
> >    return ''.join(buffer).encode(self.encoding)
> > UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position
> > 2: ordinal not in range(128)
>
> No, I don't see it here on trunk:
>
> Ran 9 test groups in 45.840s
>
> Status:
> OK
>
> Is this on your unmodified copy of trunk?  If so that's bad news,
> because it means we have a unicode problem that's platform-dependent
> :(
>
> But let's not worry too much about it yet, since we know we have a
> full complement of problems with unicode anyways.  Once I've had a go
> at that code, we'll make sure this is gone.
>
> Thanks for pointing it out though.  I've made a note about it in our
> main unicode ticket just to make sure we don't forget:
>
> http://github.com/ipython/ipython/issues/#issue/25/comment/503524
>
> Cheers,
>
> f
> _______________________________________________
> IPython-dev mailing list
> IPython-dev@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-dev/attachments/20101029/07a10602/attachment.html 


More information about the IPython-dev mailing list