Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

Learn More

How to export contacts to VCF 2.1 under Thunderbird 91 ?

  • 2 답장
  • 1 이 문제를 만남
  • 65 보기
  • 최종 답변자: 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.