diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2015-03-15 13:50:28 +0100 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2015-03-15 13:50:28 +0100 |
commit | 2ccf81dec1fbe4e215ea47700a4e006420318621 (patch) | |
tree | 128e4d699b1018d629caf000b164a3b7f843af46 /collectstats.pl | |
parent | 1d96fa1689470945545ac8e0f239357185e832a7 (diff) | |
download | bugzilla-2ccf81dec1fbe4e215ea47700a4e006420318621.tar.gz bugzilla-2ccf81dec1fbe4e215ea47700a4e006420318621.tar.xz |
Bug 902395: Enforce utf8 = true for all installations and remove the utf8 parameter
r=dkl a=sgreen
Diffstat (limited to 'collectstats.pl')
-rwxr-xr-x | collectstats.pl | 8 |
1 files changed, 2 insertions, 6 deletions
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; |