> That part is completely different. That's at the display level. > Replacing it in the backend makes no sense to me. Don't use > utf8_decode. Use iconv() so you know what the heck is going on.
:) iconv() will stop on conversion error and return partial string or empty string. It will require even more complex code than 5.2.5 htmlspecialchars() does. With htmlspecialchars you check for empty string before and after the call. With iconv you check for php errors during iconv call. -- Tomas -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php