Explode operation on arabic text coming from a text file
<p>I have a file that contains arabic and english characters.
I need to read the file and make an explode operation on the text. </p>

<p>Although the text coming from the file shows the chracters correctly, when I apply <code>explode</code> it prints different characters like 搀椀愀氀漀ⴀ愀✀ 
What can I do to fix it?</p>

<pre><code>$file = fopen("files/MetinCeviriKelimeler.txt","r");
$temp=fgets($file); 
echo $temp;
$explode_str = explode('&gt;',$temp);
echo $explode_str[0];
</code></pre>
