Re: getting text with strange encodng

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

 



no, its not html entity, it doesnt have a semicolon, its exactly as I wrote 
it.
"Chris Shiflett" <shiflett@xxxxxxx> wrote in message 
news:4239CE14.5020904@xxxxxxxxxx
> 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:
>
> &reg;
>
> 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