Commit 9cc06b36 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Fix unicode issue

parent a292fc5b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -70,7 +70,7 @@ sub get_wagonorder {
		$self->{errstr} = "Failed to fetch station data: $err";
		return;
	}
	my $json = $self->{json}->decode($content);
	my $json = $self->{json}->utf8->decode($content);

	if ( exists $json->{error} ) {
		$self->{errstr} = 'Backend error: ' . $json->{error}{msg};