summaryrefslogtreecommitdiffstats
path: root/collectstats.pl
diff options
context:
space:
mode:
Diffstat (limited to 'collectstats.pl')
-rwxr-xr-xcollectstats.pl8
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;