forked from lix-project/hydra
Set utf-8 encoding on raw log pages
This commit is contained in:
parent
75277311ac
commit
fdf441a8b7
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue