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
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
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

    * efa: Changed -p/--proximity default walking time from 8 to 10 minutes
+4 −3
Original line number Diff line number Diff line
@@ -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;
}