ù ù ù Small u, grave accent ú ú ú Small u, acute accent ? û û Small u, circumflex ü ü ü Small u, di?esis / umlaut y ý ý Small y, acute accent t þ þ Small thorn, Icelandic ? ÿ ÿ Smal...
The code I posted this morning (for giving back to htmlspecialchars etc. the old default ISO encoding) had some strange problem, didn't work if a page was reloaded! Here the code I came up with, without this problem: <?php if (version_compare(phpversion(), "5.3.3", ">")) { ru...
$string = str_replace ( 'Ü', '�', $string ); $string = str_replace ( 'ä', '�', $string ); $string = str_replace ( 'Ä', '�', $string ); $string = str_replace ( 'ö', '�', $string ); $string = str_replace ( 'Ö', '�'...
I had a script which detected swearing and wanted to make sure that words such as 'f ü c k' didn't slip through the system. After using htmlentities(), the following line converts most extended alphabet characters back to the standard alphabet so you can spot such problems.. $tex...