Is it possible to force Excel recognize UTF-8 CSV files automatically?

后端 未结 27 1669
醉梦人生
醉梦人生 2020-11-21 22:27

I\'m developing a part of an application that\'s responsible for exporting some data into CSV files. The application always uses UTF-8 because of its multilingual nature at

27条回答
  •  别跟我提以往
    2020-11-21 22:45

    This is not accurately addressing the question but since i stumbled across this and the above solutions didn't work for me or had requirements i couldn't meet, here is another way to add the BOM when you have access to vim:

    vim -e -s +"set bomb|set encoding=utf-8|wq" filename.csv
    

提交回复
热议问题