add encoding utf-8 to the first line #688
I think it looks good.
Since this is additional boilerplate, I usually go the route of adding an encoding line on case-by-case basis only, when ascii decoding isn't enough.
@dangra these comments are for Python interpreter, not for text editors. Without such line you can't have non-ascii constants (including unicode non-ascii constants) in source code.
What you can do is to configure text editor to insert such lines for new files automatically, but this doesn't work for files generated by Scrapy.