X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FSEPA%2FXML.pm;h=e4bf360d676102af6a08826cd8518b9341a70b91;hb=09c8c053181f182143beff935d011af15afddb01;hp=3aa88b7b0cc96970a0bcc19e5ea09c00068263c6;hpb=03b4f0db915ca4f0444fa47b903b23cfeb49461c;p=kivitendo-erp.git diff --git a/SL/SEPA/XML.pm b/SL/SEPA/XML.pm index 3aa88b7b0..e4bf360d6 100644 --- a/SL/SEPA/XML.pm +++ b/SL/SEPA/XML.pm @@ -72,6 +72,10 @@ sub _replace_special_chars { map { $text =~ s/$_/$special_chars{$_}/g; } keys %special_chars; + # for all other non ascii chars 'OLÉ S.L.' and 'Årdberg AB'! + use Text::Unidecode qw(unidecode); + $text = unidecode($text); + return $text; }