On 05/21/2015 09:20 AM, egayer wrote:
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' ?
http://hints.macworld.com/article.php?story=20100713130450549
Is this issue is know for such update ?
thanks for your help
Eric
--
Adrian Klaver
[email protected]
--
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.