php和乱码在utf8文件中

i get rows from .csv file. what i am trying to do is to encode the text that i get in utf8 format, buy actually i get just gibberish.

my code:

    <?php

header('Content-Type: text/html; charset=utf-8');



$row = 1;
if (($handle = fopen("newsletter.csv", "r")) !== FALSE) {
    while (($data = fgetcsv($handle, 1000, ",")) !== FALSE) {
    echo mb_convert_encoding($data[5],"utf-8");
    echo "<HR>";
    }
    fclose($handle);
}

?>

i was looking in: http://il1.php.net/mb_convert_encoding

is there a possible way to print the wanted strings in Hebrew?

the problem that mb_convert_encoding doesn't supports windows-1255...

i was also in: iconv http://php.net/manual/en/function.iconv.php

somebody there posted how to convert it but it didn't work to me:

preg_replace("/([\xE0-\xFA])/e","chr(215).chr(ord(\${1})-80)",$temp);

thanks!!