I was trying something and I get this error. I searched and i found I have to add # encoding=utf8 but the output was different from what I was expecting
My code:
print ' -------\n│ │\n│ │\n│ │\n││ │\n ------'
First error:
SyntaxError: Non-ASCII character '\xe2' in file prueba.py on line 3, but
no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
Code output:
-------
Ôöé Ôöé
Ôöé Ôöé
Ôöé Ôöé
ÔöéÔöé Ôöé
------
print u' -------\n│ │\n│ │\n│ │\n││ │\n ------'