RE: [PHP] utf8 encoding £ to £ problem

From: Date: Tue, 05 Dec 2006 19:24:22 +0000
Subject: RE: [PHP] utf8 encoding £ to £ problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-245538@lists.php.net to get a copy of this message
At 1:14 PM +0000 12/5/06, Chris Dean wrote:
Hi Nunners, Just the £ and in my case I need to use that symbol, can't really get round it sensibly with £ Chris
Chris: A simple way I've found to display such characters is to first find their Unicode code-point -- in this case 00A3. Then take the DEC of that, which is 163. Then add the prefix "$#" and suffix of ";" and you have the html entity -- rendering: £ Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com

« previous php.general (#245538) next »