Skip to content
Snippets Groups Projects
Commit 34c8e23f authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

create_post: Encode -everything- as ISO-8859-15. Fixes odd encoding issue.

parent 3508c463
No related branches found
No related tags found
No related merge requests found
git HEAD
* efa: Fix odd encoding issues when using -w, -t, -d, -a and similar
Travel::Routing::DE::VRR 2.10 - Fri May 29 2015 Travel::Routing::DE::VRR 2.10 - Fri May 29 2015
* efa: Changed -p/--proximity default walking time from 8 to 10 minutes * efa: Changed -p/--proximity default walking time from 8 to 10 minutes
......
...@@ -252,9 +252,6 @@ sub place { ...@@ -252,9 +252,6 @@ sub place {
); );
} }
$place = encode( 'ISO-8859-15', $place );
$stop = encode( 'ISO-8859-15', $stop );
$type //= 'stop'; $type //= 'stop';
@{ $self->{post} }{ "place_${which}", "name_${which}" } = ( $place, $stop ); @{ $self->{post} }{ "place_${which}", "name_${which}" } = ( $place, $stop );
...@@ -399,6 +396,10 @@ sub create_post { ...@@ -399,6 +396,10 @@ sub create_post {
$self->with_bike(1); $self->with_bike(1);
} }
for my $val ( values %{ $self->{post} } ) {
$val = encode( 'ISO-8859-15', $val );
}
return; return;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment