lundi 4 février 2019

PHP file() function is not working for Japanese character

I am trying to convert an excel file to an array using file() function. some fields are containing japanese character. for those field i am not getting correct data.

here is my code line

$data = array_map('str_getcsv', file($path));



from Newest questions tagged laravel-5 - Stack Overflow http://bit.ly/2WHZPMg
via IFTTT

Aucun commentaire:

Enregistrer un commentaire