#13296: unicode default encoding is not utf-8 in command line
--------------------------------------------------------------+-------------
Reporter: slabbe | Owner:
jason, was
Type: defect | Status:
needs_review
Priority: major | Milestone:
sage-5.3
Component: graphics | Resolution:
Keywords: unicode, matplotlib | Work issues:
Report Upstream: Fixed upstream, in a later stable release. | Reviewers:
Authors: John Palmieri | Merged in:
Dependencies: | Stopgaps:
--------------------------------------------------------------+-------------
Changes (by slabbe):
* upstream: N/A => Fixed upstream, in a later stable release.
Comment:
The problem is fixed in IPython 0.13 (see ticket #12719) :
{{{
Python 2.7.3 (default, Jul 19 2012, 21:24:57)
Type "copyright", "credits" or "license" for more information.
IPython 0.13 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In [1]: 'é'
Out[1]: '\xc3\xa9'
In [2]: u'é'
Out[2]: u'\xe9'
}}}
and was also fixed in IPython 0.12.1 :
{{{
Python 2.7.2 (default, May 9 2012, 21:52:56)
Type "copyright", "credits" or "license" for more information.
IPython 0.12.1 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In [1]: 'é'
Out[1]: '\xc3\xa9'
In [2]: u'é'
Out[2]: u'\xe9'
}}}
For now, I think we don't know how long will take #12719 (yesterday,
William Stein found serious bug with it and discouraged its use). So if it
takes one or two Sage version before merging #12719, maybe meanwhile we
can find a way to change the default encoding of ipython from 'latin1' to
'utf-8' ?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13296#comment:19>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.