From 85a51d7d8bd501318b33095e82237a0301a8f7fa Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Sun, 12 Nov 2023 17:39:07 +0100 Subject: HAFAS(3pm): avoid unicode --- lib/Travel/Routing/DE/HAFAS.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/Travel/Routing/DE/HAFAS.pm b/lib/Travel/Routing/DE/HAFAS.pm index 8d3e416..a66c8b0 100644 --- a/lib/Travel/Routing/DE/HAFAS.pm +++ b/lib/Travel/Routing/DE/HAFAS.pm @@ -636,7 +636,7 @@ Travel::Routing::DE::HAFAS - Interface to HAFAS itinerary services my $hafas = Travel::Routing::DE::HAFAS->new( from_stop => 'Eichlinghofen H-Bahn, Dortmund', - to_stop => 'Gangelplatz, Düsseldorf', + to_stop => 'Gangelplatz, DEsseldorf', ); if (my $err = $hafas->errstr) { @@ -646,7 +646,7 @@ Travel::Routing::DE::HAFAS - Interface to HAFAS itinerary services for my $con ( $hafas->connections ) { for my $sec ($con->sections) { if ( $sec->type eq 'JNY' ) { - printf("%s → %s\n%s ab %s\n%s an %s\n\n", + printf("%s -> %s\n%s ab %s\n%s an %s\n\n", $sec->name, $sec->direction, $sec->dep_datetime->strftime('%H:%M'), $sec->dep_loc->name, -- cgit v1.2.3