3 def Ruby18.b_value_decode(str)
4 match = str.match(/\=\?(.+)?\?[Bb]\?(.+)?\?\=/m)
7 str = Ruby18.decode_base64(match[2])
9 str = Iconv.conv("UTF-8//TRANSLIT//IGNORE", encoding, str)
14 def Ruby18.q_value_decode(str)
15 match = str.match(/\=\?(.+)?\?[Qq]\?(.+)?\?\=/m)
18 str = Encodings::QuotedPrintable.decode(match[2].gsub(/_/, '=20'))
20 str = Iconv.conv("UTF-8//TRANSLIT//IGNORE", encoding, str)