[IPython-dev] Unicode literals in IPython

Sebastian Wiesner basti.wiesner at gmx.net
Wed Dec 10 13:54:44 EST 2008


Hi,

on my system ipython fails to correctly decode unicode literals:

[2]--> u'ä'
Out[2]: u'\xc3\xa4'

The standard python interpreter handles this correctly and gives u'\xe4' as 
expected.

This issue was observed on a Gentoo System with Python 2.6 and IPython 0.9.1.  
The locale setting is "de_DE.utf8", and "sys.stdin.encoding" gives "UTF-8" in 
IPython. 

-- 
Freedom is always the freedom of dissenters.
                                      (Rosa Luxemburg)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20081210/b1ad7e1c/attachment.sig>


More information about the IPython-dev mailing list