Scrapy, a fast high-level web crawling & scraping framework for Python.
Do not impose an arbitrary encoding in spider templates, because we don't know beforehand what enconding our users will use in their editors.
Pablo Hoffmandc8255005893
diff --git a/scrapy/templates/spiders/crawl.tmpl b/scrapy/templates/spiders/crawl.tmplindex 6b996aa50..d655ba26e 100644--- a/scrapy/templates/spiders/crawl.tmpl+++ b/scrapy/templates/spiders/crawl.tmpl@@ -1,4 +1,3 @@-# -*- coding: utf8 -*-import refrom scrapy.selector import HtmlXPathSelectordiff --git a/scrapy/templates/spiders/csvfeed.tmpl b/scrapy/templates/spiders/csvfeed.tmplindex 8d4b5dfc7..794288570 100644--- a/scrapy/templates/spiders/csvfeed.tmpl+++ b/scrapy/templates/spiders/csvfeed.tmpl@@ -1,4 +1,3 @@-# -*- coding: utf8 -*-from scrapy.contrib.spiders import CSVFeedSpiderfrom $project_name.items import ${ProjectName}Itemdiff --git a/scrapy/templates/spiders/xmlfeed.tmpl b/scrapy/templates/spiders/xmlfeed.tmplindex 2ca44b752..f249b4537 100644--- a/scrapy/templates/spiders/xmlfeed.tmpl+++ b/scrapy/templates/spiders/xmlfeed.tmpl@@ -1,4 +1,3 @@-# -*- coding: utf8 -*-from scrapy.contrib.spiders import XMLFeedSpiderfrom $project_name.items import ${ProjectName}Item