Set utf-8 encoding on raw log pages

This commit is contained in:
Eelco Dolstra 2012-05-25 14:27:56 +00:00
parent 75277311ac
commit fdf441a8b7

View file

@ -4,4 +4,10 @@ use strict;
use warnings; use warnings;
use base 'Catalyst::View::Download::Plain'; use base 'Catalyst::View::Download::Plain';
sub process {
my ($self, $c) = @_;
$c->res->content_encoding("utf-8");
$self->SUPER::process($c);
}
1; 1;