#13296: matplotlib do not handle unicode properly from command line
---------------------------------------+------------------------------------
       Reporter:  slabbe               |         Owner:  jason, was
           Type:  defect               |        Status:  new       
       Priority:  major                |     Milestone:  sage-5.3  
      Component:  graphics             |    Resolution:            
       Keywords:  unicode, matplotlib  |   Work issues:            
Report Upstream:  N/A                  |     Reviewers:            
        Authors:                       |     Merged in:            
   Dependencies:                       |      Stopgaps:            
---------------------------------------+------------------------------------

Comment (by slabbe):

 > > Using sage-5.2.rc0, I don't see this note. It diseappeared? or
 appeared later?
 >
 > It's there in line 336 of
 `$SAGE_ROOT/devel/sage/sage/misc/interpreter.py`.

 My fault, I am using sage-5.2.rc0 with #12719 which changed this file.

 > > > But `sage file.sage` doesn't work. Probably the functions in
 `interpreter.py` don't get called?
 > >
 > > But if the encoding is declared in {{{file.sage}}} :
 >
 > Of course, it works then. All that the functions in `interpreter.py` do
 is put the string `-*- coding: utf-8 -*-` in the beginning of the python
 file they create. After that it "just works." Which is why I said that
 perhaps the necessary functions in the `interpreter.py` are not called
 when Sage is run in command line.

 Sorry, I misunderstood the "doesn't work". Thanks for the clarifications.

 So now, we need to understand how to put the string `-*- coding: utf-8
 -*-` somewhere for the commande line?

 Sébastien

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13296#comment:8>
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.

Reply via email to