I am following this example How can I display native accents to languages in console in windows? but i get an error message every time i run my file.py with the command prompt of windows.
I wish to print
print u"Università".encode('utf-8')
and the error is:
File "C:\Users\samsung>C:\PythonScript\Script_fun\uni\uni.py", line 270
SyntaxError: Non-ASCII character '\xc3' in file C:\Users\samsung>C:\PythonScript\Script_fun\uni\uni.py on line 270, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
Moreover, adding # coding=utf-8 as the first line i have the following problem
Università
instead of
Università