summaryrefslogtreecommitdiff
path: root/lib/feed2imap/rexml_patch.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/feed2imap/rexml_patch.rb')
-rw-r--r--lib/feed2imap/rexml_patch.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/feed2imap/rexml_patch.rb b/lib/feed2imap/rexml_patch.rb
index f991090..7016127 100644
--- a/lib/feed2imap/rexml_patch.rb
+++ b/lib/feed2imap/rexml_patch.rb
@@ -26,7 +26,7 @@ require 'feedparser'
module REXML
module Encoding
def decode(str)
- return str.toUTF8(@encoding)
+ return str.encode(@encoding)
end
def encode(str)