Methods
Public Instance methods
[ show source ]
# File lib/action_mailer/vendor/tmail/quoting.rb, line 113
113: def test_unquote_base64
114: a ="=?ISO-8859-1?B?WzE2NjQxN10gQmVrcuZmdGVsc2UgZnJhIFJlanNlZmViZXI=?="
115: b = TMail::Unquoter.unquote_and_convert_to(a, 'utf-8')
116: assert_equal "[166417] Bekr\303\246ftelse fra Rejsefeber", b
117: end
[ show source ]
# File lib/action_mailer/vendor/tmail/quoting.rb, line 107
107: def test_unquote_quoted_printable
108: a ="=?ISO-8859-1?Q?[166417]_Bekr=E6ftelse_fra_Rejsefeber?="
109: b = TMail::Unquoter.unquote_and_convert_to(a, 'utf-8')
110: assert_equal "[166417] Bekr\303\246ftelse fra Rejsefeber", b
111: end
[ show source ]
# File lib/action_mailer/vendor/tmail/quoting.rb, line 119
119: def test_unquote_without_charset
120: a ="[166417]_Bekr=E6ftelse_fra_Rejsefeber"
121: b = TMail::Unquoter.unquote_and_convert_to(a, 'utf-8')
122: assert_equal "[166417]_Bekr=E6ftelse_fra_Rejsefeber", b
123: end