What's the best way to export UTF8 data into Excel?

前端 未结 8 1495
不思量自难忘°
不思量自难忘° 2020-12-03 03:12

So we have this web app where we support UTF8 data. Hooray UTF8. And we can export the user-supplied data into CSV no problem - it\'s still in UTF8 at that point. The proble

8条回答
  •  失恋的感觉
    2020-12-03 03:37

    You're forgetting creating an OleDB datasource and Excel Interop, but there are issues with those as well.

    I recommend the SpreadsheetML option. It works pretty well, odds are your platform has some decent tools for building xml files, and it's fully supported as far back as OfficeXP. Office2000 is not supported, but personal experience is that it works in a limited way.

提交回复
热议问题