You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I changed the encoding in the default template。utf-8 -> gb18030
It is expected that if you decide to use GB18030 (or any other non-UTF-8 encoding), you'll need to have the full chain (content, template, code, browser, etc.) configured in this specific encoding as well.
Similar to Scrapy or many Python libraries, Spidermon by default supports UTF-8 only. I assume that it shall work properly if your content in Chinese (or any other language) is prepared in UTF-8.
Hi, I'm creating a report using spidermon's CreateFileReport:
But it turns out that Chinese is not supported,I know this is caused by jinja2。So I changed the encoding in the default template。utf-8 -> gb18030
Python37\Lib\site-packages\spidermon\contrib\actions\reports\templates\reports\email\bases\report\base.jinja
then it works。
The text was updated successfully, but these errors were encountered: