summaryrefslogtreecommitdiff
path: root/lib/Travel/Status/DE/EFA.pm
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2014-01-06 13:43:29 +0100
committerDaniel Friesel <derf@finalrewind.org>2014-01-06 13:43:29 +0100
commit574e641846ced2bec34276c9667eaefb0182fb7d (patch)
treee1eda8b574006bd6d2e2b692bcdc827681dfc043 /lib/Travel/Status/DE/EFA.pm
parent8502e801d50f66244a20f6a3561d4cf943d3bb77 (diff)
Handle Umlauts in efa-m and EFA.pm
Diffstat (limited to 'lib/Travel/Status/DE/EFA.pm')
-rw-r--r--lib/Travel/Status/DE/EFA.pm4
1 files changed, 2 insertions, 2 deletions
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',