Skip to content

Commit

Permalink
Formatting cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
ubu committed Jan 26, 2014
1 parent b9e89b3 commit f803963
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Magpie/Transformer/TT2.pm
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ sub get_transformer {
return OK;
}

use Encode;
sub transform {
my ($self, $ctxt) = @_;
my $tt = $self->transformer;
Expand All @@ -81,7 +82,7 @@ sub transform {

return OK if $self->has_error;

$self->resource->data( $output );
$self->resource->data( encode('UTF-8', $output) );

return OK;
}
Expand Down

0 comments on commit f803963

Please sign in to comment.