Re: getting text with strange encodng

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux