I have upload form catch the .txt
file and by this code :
$file_array = file($_FILES['file']['tmp_name']);
print_r($file_array);
I get the content of text , but some some texts get me the content like that .íÇ ÝÊì¡ Êßæä ãÍÙæÙÇð Åä ÊÎÑøÌÊ
Although I opened the text and I found it just fine but another language not english.
So I need file()
the text with the correct encoding , by the way when I copy this content from text CTRL+C
and paste it in a text area CTRL+P
it's appear fine.