The problem is this: there is a .DBF file. I open it:
$dbh = dbase_open("bnk.dbf",2); if(!$dbh) exit("Ошибка - невозможно открыть файл"); $numrecords = dbase_numrecords($dbh); for($i = 0; $i < $numrecords; $i++) { $arr[] = dbase_get_record($dbh, $i); } echo "<pre>"; print_r($arr); echo "<pre>"; dbase_close($dbh);
Everything outputs, but the words that are in the $arr
array are not displayed correctly! With the encoding problem! Who knows, help!