You are here: Re: [PHP] getting text with strange encodng « PHP « IT news, forums, messages
Re: [PHP] getting text with strange encodng

Posted by Diana Castillo on 03/18/05 15:40

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 :
>> &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/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация