note 8462 added to htmlspecialchars
| From: | david at gislaved dot net | Date: | Wed, 13 Sep 2000 23:49:07 +0000 |
| Subject: | note 8462 added to htmlspecialchars | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-4869@lists.php.net to get a copy of this message | ||
To replace the swedish characters...
$s=ereg_replace(197, "Å",$s);
$s=ereg_replace(196, "Ä",$s);
$s=ereg_replace(214, "Ö",$s);
$s=ereg_replace(229, "å",$s);
$s=ereg_replace(228, "ä",$s);
$s=ereg_replace(246, "ö",$s);
http://www.php.net/manual/function.htmlspecialchars.php