Microsoft Excel mangles Diacritics in .csv files?

后端 未结 22 1993
粉色の甜心
粉色の甜心 2020-11-22 05:02

I am programmatically exporting data (using PHP 5.2) into a .csv test file.
Example data: Numéro 1 (note the accented e). The data is utf-8 (

22条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-22 05:10

    Prepending a BOM (\uFEFF) worked for me (Excel 2007), in that Excel recognised the file as UTF-8. Otherwise, saving it and using the import wizard works, but is less ideal.

提交回复
热议问题