]> git.cworth.org Git - sup/blobdiff - lib/sup/rfc2047.rb
add hooks for before- and after- yaml marshalling
[sup] / lib / sup / rfc2047.rb
index ab006a09ca1aa9ea25ddb874254cc5bf6b4ea4d6..f31faa1f9b6fb9483ba9f24ac1eb3f6fd9f369b9 100644 (file)
@@ -52,10 +52,7 @@ module Rfc2047
         # WORD.
       end
 
-      # Convert:
-      #
-      # Remember - Iconv.open(to, from)!
-      text = Iconv.iconv(target, charset, text).join
+      Iconv.easy_decode(target, charset, text)
     end
   end
 end