Re: getting text with strange encodng
| From: | Diana Castillo | Date: | Fri, 18 Mar 2005 13:40:01 +0000 |
| Subject: | Re: getting text with strange encodng | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-211041@lists.php.net to get a copy of this message | ||
no, its not html entity, it doesnt have a semicolon, its exactly as I wrote
it.
"Chris Shiflett" <shiflett@php.net> wrote in message
news:4239CE14.5020904@php.net...
> Diana Castillo wrote:
>> Does anyone know what kind of string encoding this is :
>> ®®
>> mA®
>> 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/