diff --git a/app/jobs/scheduled/poll_feed.rb b/app/jobs/scheduled/poll_feed.rb index d5ab5b6bc10..8cfed445714 100644 --- a/app/jobs/scheduled/poll_feed.rb +++ b/app/jobs/scheduled/poll_feed.rb @@ -86,11 +86,11 @@ module Jobs end def content - @article_rss_item.content.try(:scrub) || @article_rss_item.description.try(:scrub) + @article_rss_item.content.try(:force_encoding, "UTF-8").try(:scrub) || @article_rss_item.description.try(:force_encoding, "UTF-8").try(:scrub) end def title - @article_rss_item.title.scrub + @article_rss_item.title.force_encoding("UTF-8").scrub end def user