Fix encoding of Hydra logs

This commit is contained in:
Eelco Dolstra 2014-08-17 23:43:01 +02:00
parent a80bfceaca
commit f50066ab6f

View file

@ -65,7 +65,7 @@ sub build_GET {
$c->stash->{drvAvailable} = isValidPath $build->drvpath;
if (!$build->finished && $build->busy) {
$c->stash->{logtext} = read_file($build->logfile, err_mode => 'quiet') // "";
$c->stash->{logtext} = decode("utf-8", read_file($build->logfile, err_mode => 'quiet') // "");
}
if ($build->finished && $build->iscachedbuild) {