Re: getting text with strange encodng

From: Date: Thu, 17 Mar 2005 18:36:04 +0000
Subject: Re: getting text with strange encodng
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-210998@lists.php.net to get a copy of this message
Diana Castillo wrote:
Does anyone know what kind of string encoding this is : &reg&reg mA&reg and how can I decode this?
That looks almost like an HTML entity: ® Assuming that's what it is, and you just left off the semicolon, you can decode it with this: html_entity_decode() Hope that helps. Chris -- Chris Shiflett Brain Bulb, The PHP Consultancy http://brainbulb.com/

« previous php.general (#210998) next »