From 574e641846ced2bec34276c9667eaefb0182fb7d Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 6 Jan 2014 13:43:29 +0100 Subject: Handle Umlauts in efa-m and EFA.pm --- lib/Travel/Status/DE/EFA.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/Travel/Status') diff --git a/lib/Travel/Status/DE/EFA.pm b/lib/Travel/Status/DE/EFA.pm index fc6f0dc..a443c4e 100644 --- a/lib/Travel/Status/DE/EFA.pm +++ b/lib/Travel/Status/DE/EFA.pm @@ -84,11 +84,11 @@ sub new { mode => 'direct', nameInfo_dm => 'invalid', nameState_dm => 'empty', - name_dm => $opt{name}, + name_dm => encode( 'ISO-8859-15', $opt{name} ), outputFormat => 'XML', placeInfo_dm => 'invalid', placeState_dm => 'empty', - place_dm => $opt{place}, + place_dm => encode( 'ISO-8859-15', $opt{place} ), ptOptionsActive => '1', requestID => '0', reset => 'neue Anfrage', -- cgit v1.2.3