note 43605 deleted from function.htmlentities by nlopess

From: Date: Fri, 09 Jul 2004 19:11:47 +0000
Subject: note 43605 deleted from function.htmlentities by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-72936@lists.php.net to get a copy of this message
Note Submitter: Steven Wittens ---- Note that if you use a proper charset definition in your HTTP headers, or in a meta tag, converting accented characters (or any other non-ascii characters) to entities is unnecessary. If you use a charset other than ISO-8859-1 (such as UTF-8), then htmlentities will even mess up your content. Instead, just use htmlspecialchars and leave accented letters there.

« previous php.notes (#72936) next »