From ebcdfc7f21bf27adce358f346d6656aba421f276 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Wed, 15 Oct 2025 18:19:48 +0200 Subject: EFA(3pm): Remove efa_encoding parameter (unused/unsupported for a long time) --- bin/efa-m | 5 +---- lib/Travel/Status/DE/EFA.pm | 6 ------ 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/bin/efa-m b/bin/efa-m index 1ab9b89..fa2dd53 100755 --- a/bin/efa-m +++ b/bin/efa-m @@ -16,7 +16,6 @@ use Travel::Status::DE::EFA; my $service = 'VRR'; my $efa_url; -my $efa_encoding; my $use_cache = 1; my $cache; my ( $json_output, $raw_json_output ); @@ -159,8 +158,7 @@ elsif ($service) { ); exit 1; } - $efa_encoding = $service_ref->{encoding}; - $efa_url = undef; + $efa_url = undef; } sub new_efa { @@ -171,7 +169,6 @@ sub new_efa { cache => $cache, date => $date, developer_mode => $developer_mode, - efa_encoding => $efa_encoding, full_routes => $full_routes, place => $place, name => $input, diff --git a/lib/Travel/Status/DE/EFA.pm b/lib/Travel/Status/DE/EFA.pm index 87ff2ec..2704c3e 100644 --- a/lib/Travel/Status/DE/EFA.pm +++ b/lib/Travel/Status/DE/EFA.pm @@ -788,12 +788,6 @@ B (stop/station name). Request departures for the date/time specified by I. Default: now. -=item B => I - -Some EFA servers do not correctly specify their response encoding. If you -observe encoding issues, you can manually specify it here. Example: -iso-8859-15. - =item B => B<0>|B<1> If true: Request full routes for all departures from the backend. This -- cgit v1.2.3