From 260da9e3f175762f99ca65f059f951c40fce570b Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Thu, 27 Mar 2014 15:59:04 +0100 Subject: [PATCH] contest.pl: Checker output interpreted as UTF-8 --- submit/contest.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/submit/contest.pl b/submit/contest.pl index 7d54456..5bfbdc2 100755 --- a/submit/contest.pl +++ b/submit/contest.pl @@ -462,6 +462,7 @@ sub run_checks() { defined $part or $part = ""; my $verdict = `$root/bin/check -s "$submit_filename" $task $part 2>&1`; if ($?) { + utf8::decode($verdict); checks_failed($verdict); } else { checks_ok(); -- 2.39.2