diff options
author | Daniel Friesel <derf@finalrewind.org> | 2017-07-05 17:21:44 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2017-07-05 17:21:44 +0200 |
commit | fea757358067402ead3358c94e632a958d16f256 (patch) | |
tree | f1132c72fcd76189f44eb8c1246eba0868ef4955 | |
parent | 326425870334bcba01ee41a9dd9199b0c82c7843 (diff) |
Incorporate Travel::Status::DE::EFA v1.15 encoding changes1.03
-rw-r--r-- | index.pl | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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', |