X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=rt%2Ft%2F00-mason-syntax.t;fp=rt%2Ft%2F00-mason-syntax.t;h=ac0da0d5825d4efcc135e3025d54a4c5b5052e21;hb=ed1f84b4e8f626245995ecda5afcf83092c153b2;hp=0f77876ae45ed992b97d495a1aa0f214cf50dbf8;hpb=fe9ea9183e8a16616d6d04a7b5c7498d28e78248;p=freeside.git diff --git a/rt/t/00-mason-syntax.t b/rt/t/00-mason-syntax.t index 0f77876ae..ac0da0d58 100644 --- a/rt/t/00-mason-syntax.t +++ b/rt/t/00-mason-syntax.t @@ -20,12 +20,11 @@ use HTML::Mason; use HTML::Mason::Compiler; use HTML::Mason::Compiler::ToObject; BEGIN { require RT::Test; } -use Encode qw(decode_utf8); sub compile_file { my $file = shift; - my $text = decode_utf8(RT::Test->file_content($file)); + my $text = Encode::decode( "UTF-8", RT::Test->file_content($file)); my $compiler = new HTML::Mason::Compiler::ToObject; $compiler->compile(