[Ipython-tickets] [IPython] #168: ipython doesn't handle non-ascii characters at the prompt

IPython ipython-tickets@scipy....
Sat Jun 2 11:24:20 CDT 2007


#168: ipython doesn't handle non-ascii characters at the prompt
------------------------+---------------------------------------------------
 Reporter:  kovidgoyal  |       Owner:  fperez
     Type:  defect      |      Status:  new   
 Priority:  normal      |   Milestone:        
Component:  chainsaw    |     Version:        
 Severity:  normal      |    Keywords:        
------------------------+---------------------------------------------------
 {{{
 !echo test > mūs
 /home/kovid/work/ipython/IPython/Itpl.py in _str(self, glob, loc)
     199         app = result.append
     200         for live, chunk in self.chunks:
 --> 201             if live: app(str(eval(chunk,glob,loc)))
     202             else: app(chunk)
     203         out = ''.join(result)

 UnicodeEncodeError: 'ascii' codec can't encode character u'\u016b' in
 position 11: ordinal not in range(128)
 }}}

-- 
Ticket URL: <http://projects.scipy.org/ipython/ipython/ticket/168>
IPython <http://ipython.scipy.org>
The IPython interactive Python system


More information about the Ipython-tickets mailing list