note 20917 added to function.htmlentities

From: Date: Sun, 21 Apr 2002 23:45:43 +0000
Subject: note 20917 added to function.htmlentities
Groups: php.notes 
Request: Send a blank email to php-notes+get-29663@lists.php.net to get a copy of this message
It seems that if one specifies a character set in htmlentities(), the setting of the second argument is ignored; e.g., htmlentities('"\'", ENT_NOQUOTES, 'UTF-8'); returns the string "' instead of "' ...at least on my machine. -- http://www.php.net/manual/en/function.htmlentities.php http://master.php.net/manage/user-notes.php?action=edit+20917 http://master.php.net/manage/user-notes.php?action=delete+20917 http://master.php.net/manage/user-notes.php?action=reject+20917

« previous php.notes (#29663) next »