summaryrefslogtreecommitdiff
path: root/rt/t/00-mason-syntax.t
diff options
context:
space:
mode:
Diffstat (limited to 'rt/t/00-mason-syntax.t')
-rw-r--r--rt/t/00-mason-syntax.t3
1 files changed, 1 insertions, 2 deletions
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(