Thank you rupertwh
I tried iconv before and it did not work
here is the output this time
Code:
[ahmad@localhost n]$ iconv -f UTF-8 -t CP1256 index2.php
<?php
$page_name = "index.php";
$company_name = "iconv: illegal input sequence at position 49
[ahmad@localhost n]$
*EDIT*: sorry, I have solved the problem. bluefish changed the encoding of the page. so I lost an hour for almost nothing (if only I have noticed).
Thank you very much for your help