Contact-Conversion-Wizard
Contact-Conversion-Wizard copied to clipboard
Charset/decoding problems with export from macOS AddressBook
Hello,
thanks for sharing this program, very helpful!
Exporting an Address-Book from macOS I get garbled character data, whenever the VCARD is constructed like this:
BEGIN:VCARD
VERSION:2.1
PRODID:-//Apple Inc.//Mac OS X 10.11.6//EN
N;CHARSET=MACINTOSH:- KÂchle;Erika;;;
FN;CHARSET=MACINTOSH:Erika KÂchle
TEL;WORK;VOICE;pref:00000 - 00 0 00
ADR;WORK;pref:;;Muster Str. 00\n00000 Musterstadt;;;;
UID:00000000-0000-0000-0000-000000000000
X-ABUID:00000000-0000-0000-0000-000000000000:ABPerson
END:VCARD
I don't know the interna of the VCARD format, but it seems, that Apple has added an extension, reporting the charset encoding, which could be used to map the input to the right chars.
For now I could easily work around this in Bash with:
iconv -f MACROMAN -t utf-8 < export.vcf > export-utf8.vcf
Hello!
The example above is what you receive as an exported .vcf file out of the macOS address book, correct? Could you please send me a dummy .vcf file with this issue? Preferably in a .zip file so nothing gets modified during the upload. I don't have access to a macOS machine.
And could you please check the address book settings? As per this macOS help article, the default export format is vCard 3.0. But your example is 2.1. https://support.apple.com/guide/contacts/contacts-vcard-preferences-adrbk1512/mac
Sorry for coming back to this so late, it slipped my radar. Since I do not have a macOS machine either (but family member has), I will need to wait, at least, till next weekend (that is 14.Nov2021) till I can fulfill your request. I will come back, then.
As to your question: yes, it is an export from macOS address book.
Thank you.