X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=rt%2Ft%2Fapi%2Fattachment.t;h=52e3c3f1622ae33cb0f7eff56c29590468ebfac2;hb=5b3efac57771fbc37874a3dd39d3df835cdd6133;hp=8b7cb608bcbd56e02cda66d7479abef5cd34a1e3;hpb=008524b8e963831999983769f7fec11f55a72f16;p=freeside.git diff --git a/rt/t/api/attachment.t b/rt/t/api/attachment.t index 8b7cb608b..52e3c3f16 100644 --- a/rt/t/api/attachment.t +++ b/rt/t/api/attachment.t @@ -58,10 +58,9 @@ is ($#headers, 2, "testing a bunch of singline multiple headers" ); my $mime = $attachment->ContentAsMIME; like( $mime->head->get('Content-Type'), qr/charset="iso-8859-1"/, 'content type of ContentAsMIME is original' ); - require Encode; is( Encode::decode( 'iso-8859-1', $mime->stringify_body ), - Encode::decode( 'utf8', "HÃ¥vard\n" ), + Encode::decode( 'UTF-8', "HÃ¥vard\n" ), 'body of ContentAsMIME is original' ); }