Hi all, 

I quite don't understand what happened during the update of spyder.
I just updated spyder to version 2.3.4 and i can't run any script without 
this encoding error 

UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 6: 
ordinal not in range(128)

My old scripts start with

# -*- coding: utf-8 -*-
and it worked fine before.


I can't say how it was in the previous settings but when I run the 
following in the python console within spyder here is what I get.
sys.getdefaultencoding()
'ascii'


Same when I run it in a python from the terminal


Is there a way to change the encoding within Spyder from 'ascii' to 'utf8' ?

Is this issue is know for such update ?


thanks for your help


Eric


Mac OS 10.9.5

_____

in spyder python console 


Python 2.7.9 |Anaconda 2.0.1 (x86_64)| (default, Dec 15 2014, 10:37:34) 

[GCC 4.2.1 (Apple Inc. build 5577)] on darwin

Type "help", "copyright", "credits" or "license" for more information.

Anaconda is brought to you by Continuum Analytics.

Please check out: http://continuum.io/thanks and https://binstar.org


Imported NumPy 1.9.2, SciPy 0.14.0, Matplotlib 1.4.3


_____

In python from terminal


Python 2.7.9 |Anaconda 2.0.1 (x86_64)| (default, Dec 15 2014, 10:37:34) 

[GCC 4.2.1 (Apple Inc. build 5577)] on darwin

Type "help", "copyright", "credits" or "license" for more information.

Anaconda is brought to you by Continuum Analytics.

Please check out: http://continuum.io/thanks and https://binstar.org



-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.

Reply via email to