📅  最后修改于: 2022-03-11 14:56:33.391000             🧑  作者: Mango
$csvFile = fopen('file/path', "r");
fgetcsv($csvFile);
while(($row = fgetcsv($csvFile, 1000, ";")) !== FALSE){
for ($c=0; $c < count($row); $c++) {
echo iconv( "Windows-1252", "UTF-8", $row[$c]);
}
}
fclose($csvFile);