Version 1.1
This commit is contained in:
parent
e1bbbfb117
commit
016eecebd8
3 changed files with 57 additions and 8 deletions
15
res/umlautconverter.php
Normal file
15
res/umlautconverter.php
Normal file
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
class UmlautConverter
|
||||
{
|
||||
function convert($text)
|
||||
{
|
||||
$output = str_replace("ä","ä",$text);
|
||||
$output = str_replace("Ä","Ä",$output);
|
||||
$output = str_replace("ö","ö",$output);
|
||||
$output = str_replace("Ö","Ö",$output);
|
||||
$output = str_replace("ü","ü",$output);
|
||||
$output = str_replace("Ü","Ü",$output);
|
||||
$output = str_replace("ß","ß",$output);
|
||||
return $output;
|
||||
}
|
||||
}
|
Reference in a new issue