Last Updated: February 25, 2016
·
9.892K
· momoto

SyntaxError: Non-ASCII character '**' in file, but no encoding declared;

SyntaxError: Non-ASCII character '\xe3' in file hello.py on line 12, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details

Define a source code encoding

#!/usr/bin/python
# coding=utf-8