summaryrefslogtreecommitdiff
path: root/index.pl
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2017-07-05 17:21:44 +0200
committerDaniel Friesel <derf@finalrewind.org>2017-07-05 17:21:44 +0200
commitfea757358067402ead3358c94e632a958d16f256 (patch)
treef1132c72fcd76189f44eb8c1246eba0868ef4955 /index.pl
parent326425870334bcba01ee41a9dd9199b0c82c7843 (diff)
Incorporate Travel::Status::DE::EFA v1.15 encoding changes1.03
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',