[IPython-dev] IPython cannot display e acute accent

Hans Meine hans_meine at gmx.net
Mon Sep 17 12:20:31 EDT 2007


Am Montag, 17. September 2007 18:12:43 schrieb Gael Varoquaux:
> On Mon, Sep 17, 2007 at 10:10:24AM -0600, Fernando Perez wrote:
> > In [1]: print "áéíóú àèìòù äëïöü ñÑ çÇ(c)"
> > áéíóú àèìòù äëïöü ñÑ çÇ(c)
>
> Are you in utf8 ? I am.

Uh, I am not an indeed it does not work:

bash# echo "áéíóú àèìòù äëïöü ñÑ çÇ(c)"
áéíóú àèìòù äëïöü ñÑ çÇ(c)
bash# python
Python 2.4.4 (#1, Feb 15 2007, 18:34:47)
[GCC 4.1.2 20061115 (prerelease) (SUSE Linux)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> print "áéíóú àèìòù äëïöü ñÑ çÇ(c)"
áéíóú àèìòù äëïöü ñÑ çÇ(c)
>>>
bash# ipython -banner
Python 2.4.4 (#1, Feb 15 2007, 18:34:47)
Type "copyright", "credits" or "license" for more information.

IPython 0.8.1 -- An enhanced Interactive Python.
?       -> Introduction to IPython's features.
%magic  -> Information about IPython's 'magic' % functions.
help    -> Python's own help system.
object? -> Details about 'object'. ?object also works, ?? prints more.

In [1]: print "á    íóú àèìòöü ñÑ çÇ(c)"
á    íóú àÚìòöÌ ñà çÃ(c)

In [2]:
Do you really want to exit ([y]/n)?
bash# 

Ciao, /  /
     /--/
    /  / ANS



More information about the IPython-dev mailing list