Special char. in explode()

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Muffinman

    Special char. in explode()

    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..
Working...