Microsoft Excel mangles Diacritics in .csv files?

后端 未结 22 1710
粉色の甜心
粉色の甜心 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:20

    Check the encoding in which you are generating the file, to make excel display the file correctly you must use the system default codepage.

    Wich language are you using? if it's .Net you only need to use Encoding.Default while generating the file.

提交回复
热议问题