php fgetcsv - charset encoding problems

前端 未结 2 1198
孤城傲影
孤城傲影 2020-12-16 17:51

Using PHP 5.3 fgetcsv function, I am experiencing some problems due to encoding matters. Note that that file has spanish \"special\" latin characters like graph

2条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-16 18:44

    This is likely to do with the way excel encodes the file when saving.

    Try uploading the .xls file to google docs and downloading as a .csv

提交回复
热议问题