Do you have a question? Post it now! No Registration Necessary. Now with pictures!
May 31, 2005, 10:09 pm
rate this thread
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..