note 78503 added to function.htmlentities

From: Date: Mon, 15 Oct 2007 14:21:37 +0000
Subject: note 78503 added to function.htmlentities
Groups: php.notes 
Request: Send a blank email to php-notes+get-131401@lists.php.net to get a copy of this message
I just thought I would add that if you're using the default charset, htmlentities will not correctly return the trademark ( ™ ) sign. Instead it will return something like this: â�¢ If you need the trademark symbol, use: htmlentities( $html, ENT_QUOTES, "UTF-8" ); ---- Server IP: 208.69.120.35 Probable Submitter: 67.185.220.17 ---- Manual Page -- http://www.php.net/manual/en/function.htmlentities.php Edit -- https://master.php.net/note/edit/78503 Del: integrated -- https://master.php.net/note/delete/78503/integrated Del: useless -- https://master.php.net/note/delete/78503/useless Del: bad code -- https://master.php.net/note/delete/78503/bad+code Del: spam -- https://master.php.net/note/delete/78503/spam Del: non-english -- https://master.php.net/note/delete/78503/non-english Del: in docs -- https://master.php.net/note/delete/78503/in+docs Del: other reasons-- https://master.php.net/note/delete/78503 Reject -- https://master.php.net/note/reject/78503 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#131401) next »