diff options
Diffstat (limited to '')
-rw-r--r-- | lib/feed2imap/feed2imap.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/feed2imap/feed2imap.rb b/lib/feed2imap/feed2imap.rb index acfb56e..f1bc9cd 100644 --- a/lib/feed2imap/feed2imap.rb +++ b/lib/feed2imap/feed2imap.rb @@ -223,7 +223,7 @@ class Feed2Imap next end begin - feed = FeedParser::Feed::new(f.body) + feed = FeedParser::Feed::new(f.body.force_encoding('UTF-8')) rescue Exception n = @cache.parse_failed(f.name) m = "Error while parsing #{f.name}: #{$!} (failed #{n} times)" |