I am playing around with screenscraping with BeautifulSoup on a Norwegian site. I need to check if a string contains the word "Pålogget" (meaning logged on).
if "Pålogget" in status:
I get the following error
File "scrape.py", line 23 SyntaxError: Non-ASCII character '\xc3' in file scrape.py on line 23, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
How can I do this?