summaryrefslogtreecommitdiff
path: root/index.pl
diff options
context:
space:
mode:
Diffstat (limited to 'index.pl')
-rw-r--r--index.pl5
1 files changed, 2 insertions, 3 deletions
diff --git a/index.pl b/index.pl
index 1cea291..f9f2619 100644
--- a/index.pl
+++ b/index.pl
@@ -5,7 +5,6 @@ use utf8;
use DateTime;
use DateTime::Format::Strptime;
-use Encode qw(decode);
use File::Slurp qw(read_file write_file);
use List::Util qw(first);
use List::MoreUtils qw();
@@ -438,8 +437,8 @@ sub render_html {
title => "vrr-infoscreen v${VERSION}",
color => [ split( qr{,}, $color ) ],
departures => \@departures,
- id_name => decode( 'UTF-8', $data->{id_name} ),
- id_stop => decode( 'UTF-8', $data->{id_stop} ),
+ id_name => $data->{id_name},
+ id_stop => $data->{id_stop},
raw => $data->{filtered_results},
errstr => $data->{errstr},
scale => $self->param('scale') || '4.3',