projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SL::ShopConnector::WooCommerce Kategorien per page
[kivitendo-erp.git]
/
SL
/
SEPA
/
XML.pm
diff --git
a/SL/SEPA/XML.pm
b/SL/SEPA/XML.pm
index
8ccfa83
..
e4bf360
100644
(file)
--- a/
SL/SEPA/XML.pm
+++ b/
SL/SEPA/XML.pm
@@
-67,10
+67,15
@@
sub _replace_special_chars {
'Ü' => 'Ue',
'ß' => 'ss',
'&' => '+',
'Ü' => 'Ue',
'ß' => 'ss',
'&' => '+',
+ '`' => '\'',
);
map { $text =~ s/$_/$special_chars{$_}/g; } keys %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;
}
return $text;
}