By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,774 Members | 1,394 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,774 IT Pros & Developers. It's quick & easy.

Special char. in explode()

P: n/a

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..
Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.