',
'"',
' ',
'ß',
'€' );
return (str_replace($suche,$ersetze,$u_str));
}
function replace_all_toHtml($u_str){
$suche = array (
'&',
'Ü','ü',
'Ö','ö',
'Ä','ä',
'<',
'>',
'"',
' ',
'ß',
'€' );
$ersetze = array (
'&',
'Ü','ü',
'Ö','ö',
'Ä','ä',
'<',
'>',
'"',
' ',
'ß',
'€' );
return (str_replace($suche,$ersetze,$u_str));
}
function replace_escape_toHtml($u_str){
$suche = array (
'Ü','ü',
'Ö','ö',
'Ä','ä',
'ß',
'€',
"\xe4",
"\xc4",
"\xd6",
"\xf6",
"\xdf"
);
$ersetze = array (
'Ü','ü',
'Ö','ö',
'Ä','ä',
'ß',
'€',
'ä',
'Ä',
'ö',
'Ö',
'ß'
);
return (str_replace($suche,$ersetze,$u_str));
}
?>