Tried a fresh copy of the file and even checked it with notepad++ and it shows up as UTF-8 format. Couple of quick questions,
1. What version of python are you using?
2. Are you using mod_cgi or mod_wsgi or mod_python?
3. Did you follow the server setup in raspberrywebserver.com?
Thanks...