X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Ft%2F00-mason-syntax.t;h=ac0da0d5825d4efcc135e3025d54a4c5b5052e21;hb=919e930aa9279b3c5cd12b593889cd6de79d67bf;hp=1221b7d1752912c85cb9da0a93803449c48166cc;hpb=43a06151e47d2c59b833cbd8c26d97865ee850b6;p=freeside.git diff --git a/rt/t/00-mason-syntax.t b/rt/t/00-mason-syntax.t index 1221b7d17..ac0da0d58 100644 --- a/rt/t/00-mason-syntax.t +++ b/rt/t/00-mason-syntax.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; @@ -22,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(