When I run script with unicode symbols in Spyder it works ok, but when I 
attempt to do the same from terminal, a UnicodeDecodeError error is raised. 
The script includes this header:

# -*- coding: utf-8 -*-'

Spyder shows UTF-8 encoding. Special symbols are written by strings 
like '╔' not prefixed by u. If all strings should be specified as u'╔' then 
why it works with Spyder? What could be the reason?

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/spyderlib/-/xTBtmJUbnuwJ.
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/spyderlib?hl=en.

Reply via email to