我需要生成 CSV 格式的联系人列表,就像由 Outlook 导出一样。但我没有 Outlook(或 Windows)来检查它生成的确切 header 。
我要的是 Microsoft Office Outlook 联系人导出的 CSV 联系人文件示例(different question 表示不同版本产生相同的输出,因此 Outlook 的确切版本并不重要)。它的第一行就足够了。确定行尾是什么(\n 或\r\n)也很好。
最佳答案
这是我从 Outlook 2010 获得的信息:
"Title","First Name","Middle Name","Last Name","Suffix","Company","Department","Job Title","Business Street","Business Street 2","Business Street 3","Business City","Business State","Business Postal Code","Business Country/Region","Home Street","Home Street 2","Home Street 3","Home City","Home State","Home Postal Code","Home Country/Region","Other Street","Other Street 2","Other Street 3","Other City","Other State","Other Postal Code","Other Country/Region","Assistant's Phone","Business Fax","Business Phone","Business Phone 2","Callback","Car Phone","Company Main Phone","Home Fax","Home Phone","Home Phone 2","ISDN","Mobile Phone","Other Fax","Other Phone","Pager","Primary Phone","Radio Phone","TTY/TDD Phone","Telex","Account","Anniversary","Assistant's Name","Billing Information","Birthday","Business Address PO Box","Categories","Children","Directory Server","E-mail Address","E-mail Type","E-mail Display Name","E-mail 2 Address","E-mail 2 Type","E-mail 2 Display Name","E-mail 3 Address","E-mail 3 Type","E-mail 3 Display Name","Gender","Government ID Number","Hobby","Home Address PO Box","Initials","Internet Free Busy","Keywords","Language","Location","Manager's Name","Mileage","Notes","Office Location","Organizational ID Number","Other Address PO Box","Priority","Private","Profession","Referred By","Sensitivity","Spouse","User 1","User 2","User 3","User 4","Web Page"
注意事项:
- 行尾是
\r\n
。 - 文件是 ASCII,不是 Unicode。
关于windows - Outlook 联系人导出中的 CSV header 是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4847596/