Known issues

Known issues – Les problèmes que vous pourriez rencontrer


Quand j'ai écrit ce parseur, mon premier objectif était d'être capable de lire les fichiers vCard produit par l'application Carnet d'adresse de mon Mac OS X. However, it looks like Address Book puts some weird character after every single text character in the output, in addition to some weird line endings. Si vous voulez utiliser les fichiers .vcf générés par le carnet d'adresse de Mac OS X, you might need to massage the file in BBEdit or TextWrangler first; turn on "show invisibles" to see the offending characters, then do a search-and-replace to delete them all at once (or perhaps "Zap Gremlins").

UPDATE: David Weingart writes, "That's probably Unicode. In my extremely limited testing, it looks like in some cases you get plain vanilla ISO Latin 1, but if there are any high ascii characters in the entry, they export UTF 16 (double-byte) Unicode." Thanks, David. (Contact_Vcard_Parse does not do Unicode at this time.)

Contact_Vcard_Parse ne valide pas l'information ou la mise en page des vCard (although it does decode quoted-printable text). In the spirit of "be lenient in what you accept and strict in what you produce", Contact_Vcard_Parse should be able to read just about anything from a vCard file, but it's up to you as the programmer to make sense of the data.

Contact_Vcard_Parse should work on file with any kind of line endings (Mac \r, Unix \n, and DOS \r\n) automatically. It also unfolds lines automatically, so data elements spread across multiple lines should come through OK.

Si vous découvrez une nouvelle erreur ou que vous désirez contribuer au code de Contact_Vcard_Parse, contactez Paul M. Jones à l'adresse pjones at ciaweb dot net; the subject line should start with [VCARD].

Getting data from the file (Previous) File_Archive (Next)
Last updated: Sun, 29 Aug 2010 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.