BEGIN:VCARD VERSION:2.1 N:;???? FN:???? EMAIL;PREF;INTERNET:firstname.lastname@example.org REV:20140221T212743Z END:VCARD
However, since the filenames were correct (e.g., 山田太郎.vcf), the name fields were restored with a little bash magic:
Now the vCards were ready for import into OS X's Contacts:
BEGIN:VCARD VERSION:2.1 FN;CHARSET=UTF-8:山田太郎 EMAIL;PREF;INTERNET:email@example.com REV:20140221T212743Z END:VCARD
UPDATE: Just discovered that exporting from Windows 7 Contacts to CSV preserves the Japanese names correctly. The CSV file can be converted to vCard with the free (but closed source and anonymous) CSV to vCard. For what it's worth:
You might think, "Why not just export to CSV, delete the Windows Contacts, reimport the CSV file, and then export to vCard?" That doesn't work either; the resultant vCards still display question marks instead of Japanese characters. Apparently the Windows Contacts vCard export function does not handle Unicode properly. This is true even for contacts originally created in Windows Contacts, not only for those imported from WAB or other formats.
/nix | Feb 21, 2014
RSS | Twitter | Archives