Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

How to export contacts to VCF 2.1 under Thunderbird 91 ?

  • 2 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 Cbhihe

more options

Hi, around Nov. 2020, TB started using VCF 4.0 to export address book contacts (beside csv, tsv and LDIF). Prior to that I happily exported to previous VCF formats (2.1 or 3.0). I need to go back to exporting to the VCF 2.1 format, in order to feed the exported file to some other legacy application that will only consider VCF 2.1. Is there a way to do so with TB 91.3 (under Linux) ? If so how ? Tx.

Hi, around Nov. 2020, TB started using VCF 4.0 to export address book contacts (beside csv, tsv and LDIF). Prior to that I happily exported to previous VCF formats (2.1 or 3.0). I need to go back to exporting to the VCF 2.1 format, in order to feed the exported file to some other legacy application that will only consider VCF 2.1. Is there a way to do so with TB 91.3 (under Linux) ? If so how ? Tx.

被采纳的解决方案

Given that the vcard is a self describing XML formatted document with each version basically expanding on previous ones. Does just editing the resulting file and changing the stated vcard version allow it to work with ancient software that is checking the vcard version number??

定位到答案原位置 👍 0

所有回复 (2)

more options

选择的解决方案

Given that the vcard is a self describing XML formatted document with each version basically expanding on previous ones. Does just editing the resulting file and changing the stated vcard version allow it to work with ancient software that is checking the vcard version number??

more options

Thanks Matt. Editing the file with either `sed` or `awk` or using python regex is always a possibility. I just did not want to reinvent the wheel in case something already existed. From what I saw out there, there is nothing readily available, so I will roll my own editing tool from the shell probably. The only menial issue is that VCF 4.0 introduces new sub categories for many parameter "keys", so I will need to look that up for about 3650 VCards. That's about 38000 lines of text altogether, (nothing `sed` or `awk` can't handle). What I am most concerned about is parsing non-ASCII characters (UTF-16) adequately.