I need to replace special characters in Magento.
For example:
<?php echo $string; //echoes "ausführung"?>
<?php if (strpos($string,"ü")!==false)
{echo "umlaut"}?>
My problem is that the if-statement is never true. I also tried to html_entity_decode or something, without a result.
Does anyone know how to replace special characters there? I need to use the string as a CSS class name and special characters are not allowed there.