diff options
-rw-r--r-- | lib/Travel/Status/DE/VRR.pm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Travel/Status/DE/VRR.pm b/lib/Travel/Status/DE/VRR.pm index 3efb1e8..ed97712 100644 --- a/lib/Travel/Status/DE/VRR.pm +++ b/lib/Travel/Status/DE/VRR.pm @@ -174,7 +174,7 @@ sub check_for_ambiguous { $self->{errstr} = sprintf( 'Ambiguous place input: %s', join( q{ | }, - map { $_->textContent } + map { decode( 'UTF-8', $_->textContent ) } @{ $e_place->findnodes($xp_place_elem) } ) ); return; @@ -183,7 +183,8 @@ sub check_for_ambiguous { $self->{errstr} = sprintf( 'Ambiguous name input: %s', join( q{ | }, - map { $_->textContent } @{ $e_name->findnodes($xp_name_elem) } ) + map { decode( 'UTF-8', $_->textContent ) } + @{ $e_name->findnodes($xp_name_elem) } ) ); return; } |