summaryrefslogtreecommitdiff
path: root/lib/Travel/Routing
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travel/Routing')
-rw-r--r--lib/Travel/Routing/DE/EFA.pm7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/Travel/Routing/DE/EFA.pm b/lib/Travel/Routing/DE/EFA.pm
index 6da235a..801270b 100644
--- a/lib/Travel/Routing/DE/EFA.pm
+++ b/lib/Travel/Routing/DE/EFA.pm
@@ -252,9 +252,6 @@ sub place {
);
}
- $place = encode( 'ISO-8859-15', $place );
- $stop = encode( 'ISO-8859-15', $stop );
-
$type //= 'stop';
@{ $self->{post} }{ "place_${which}", "name_${which}" } = ( $place, $stop );
@@ -399,6 +396,10 @@ sub create_post {
$self->with_bike(1);
}
+ for my $val ( values %{ $self->{post} } ) {
+ $val = encode( 'ISO-8859-15', $val );
+ }
+
return;
}