note 78503 modified in function.htmlentities by danbrown

From: Date: Sun, 17 May 2009 16:52:57 +0000
Subject: note 78503 modified in function.htmlentities by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-154905@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: <?php htmlentities( $html, ENT_QUOTES, "UTF-8" ); ?> --was-- 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" ); http://php.net/manual/en/function.htmlentities.php

« previous php.notes (#154905) next »