> I think php.net/htmlentities will do this. Apparently it *is*, but it won't for me. Any problems with this code?
$result[] = "é"; $result[1] = htmlspecialchars($result[0]); $result[2] = htmlentities($result[0]); Both return the accented E unchanged. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php