You are here: Special char. in explode() « PHP Programming Language « IT news, forums, messages
Special char. in explode()

Posted by Muffinman on 11/11/66 11:17

Hi,

I've written a program which downloads a number of pages from a certain
website. However, it seems to have a problem with special characters. I
believe that the following piece of code is responsible for this:

$page_result = explode ("\n", $page_result);
$page_result = @$page_result['284'];

Somehow, it seems that the code which was in the original text:

<p class="3text" align="center"> <i>P</i>(U03B1, ~β) = 1 - <i>P</i>(α,
β), </p> </blockquote>
is being transformed to this:
<p class="3text" align="center"> <i>P</i>(U03B1, ~β) = 1 - <i>P</i>(α,
β), </p> </blockquote>

Can anyone tell me why this happens and how I can fix this...

Thanks in advance, Maarten

Ps. It's possible that also e-mail has a problem with these characters.
The characters displayed are just the alpha and beta characters..

 

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

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