From 2ccf81dec1fbe4e215ea47700a4e006420318621 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Sun, 15 Mar 2015 13:50:28 +0100 Subject: Bug 902395: Enforce utf8 = true for all installations and remove the utf8 parameter r=dkl a=sgreen --- collectstats.pl | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'collectstats.pl') diff --git a/collectstats.pl b/collectstats.pl index 339e428bc..b874c5195 100755 --- a/collectstats.pl +++ b/collectstats.pl @@ -173,9 +173,7 @@ sub collect_stats { || ThrowCodeError('chart_file_open_fail', {'filename' => $file}); } - if (Bugzilla->params->{'utf8'}) { - binmode DATA, ':utf8'; - } + binmode DATA, ':utf8'; # Now collect current data. my @row = (today()); @@ -234,9 +232,7 @@ sub get_old_data { open(DATA, '<', $file) || ThrowCodeError('chart_file_open_fail', {'filename' => $file}); - if (Bugzilla->params->{'utf8'}) { - binmode DATA, ':utf8'; - } + binmode DATA, ':utf8'; my @data; my @columns; -- cgit v1.2.3-24-g4f1b