summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Travel/Status/DE/DBWagenreihung.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travel/Status/DE/DBWagenreihung.pm b/lib/Travel/Status/DE/DBWagenreihung.pm
index 2febe4d..7bba010 100644
--- a/lib/Travel/Status/DE/DBWagenreihung.pm
+++ b/lib/Travel/Status/DE/DBWagenreihung.pm
@@ -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};