# File lib/action_mailer/vendor/tmail-1.1.0/tmail/encode.rb, line 93 def self.decode( str, encoding = nil ) encoding ||= (OUTPUT_ENCODING[$KCODE] || 'j') opt = '-m' + encoding str.gsub(ENCODED_WORDS) {|s| NKF.nkf(opt, s) } end