How do I declare an encoding for this code?
I know how to declare encoding in other situations but how would I do it with this?
if used_prefix and cmd=="shoot" and user.name in whitelist:
name = args.lower()
if name in killed:
room.message(user.name+' is already dead.')
else:
killed.append(name)
saveKills()
room.message('//'+user.name+' shoots '+name+' in the head.')
The error message says:
SyntaxError: Non-ASCII character '\xe3' in file /home/stephen/downloads/inhaley/inhaley.py on line 6, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details.