搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Export of vcards from address book are lowercase tags so not compatible with android contacts

  • 5 回覆
  • 1 有這個問題
  • 3 次檢視
  • 最近回覆由 sfhowes

more options

Export of vcards from Thunderbird address book are lowercase tags so not compatible with android contacts which needs them to be in uppercase tags

Export of vcards from Thunderbird address book are lowercase tags so not compatible with android contacts which needs them to be in uppercase tags

被選擇的解決方法

MoreFunctionsForAddressBook exports contacts and address books in vCard format with upper case tags.

To install the add-on, drag the Download link at the bottom of the page and drop it onto Tools/Add-ons/Extensions in TB.

從原來的回覆中察看解決方案 👍 1

所有回覆 (5)

more options

Here is the ABNF description from RFC 6350:

  contentline = [group "."] name *(";" param) ":" value CRLF
    ; When parsing a content line, folded lines must first
    ; be unfolded according to the unfolding procedure
    ; described in Section 3.2.
    ; When generating a content line, lines longer than 75
    ; characters SHOULD be folded according to the folding
    ; procedure described in Section 3.2.
  group = 1*(ALPHA / DIGIT / "-")
  name  = "SOURCE" / "KIND" / "FN" / "N" / "NICKNAME"
        / "PHOTO" / "BDAY" / "ANNIVERSARY" / "GENDER" / "ADR" / "TEL"
        / "EMAIL" / "IMPP" / "LANG" / "TZ" / "GEO" / "TITLE" / "ROLE"
        / "LOGO" / "ORG" / "MEMBER" / "RELATED" / "CATEGORIES"
        / "NOTE" / "PRODID" / "REV" / "SOUND" / "UID" / "CLIENTPIDMAP"
        / "URL" / "KEY" / "FBURL" / "CALADRURI" / "CALURI" / "XML"
        / iana-token / x-name
    ; Parsing of the param and value is based on the "name" as
    ; defined in ABNF sections below.
    ; Group and name are case-insensitive.

(My emphasis.)

So, if I have the appropriate specification and I have read it properly, lowercase is allowed. I think you need to take your argument up with Google, because if they are refusing lowercase names, they are bucking this standard. I don't think Thunderbird is doing anything wrong.

This article shows up a general lack of standards compliance. Google specifically don't play nicely.

more options

Thanks, yes guessed this might be the situation but wondering what the odds are on Google doing ant thing about it. Hey Google I can' export my address books from my Thunderbird to my android please change your code... Will give it a shot but expect I will just have to continue changing all the tags to uppercase by hand for the foreseeable future... :(

more options

I was wondering how to automate it. You'd need to think carefully about what regular expressions to use to modify just the names parts.

Notepad++ has some useful tools and knows regular expressions…

more options

Thanks Zenos, yes I can perhaps make something in bash for it, have not used regex for ages.

more options

選擇的解決方法

MoreFunctionsForAddressBook exports contacts and address books in vCard format with upper case tags.

To install the add-on, drag the Download link at the bottom of the page and drop it onto Tools/Add-ons/Extensions in TB.