Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to parse multiple contacts in single Vcard #31

Open
boominathanp7 opened this issue Aug 10, 2016 · 1 comment
Open

Unable to parse multiple contacts in single Vcard #31

boominathanp7 opened this issue Aug 10, 2016 · 1 comment

Comments

@boominathanp7
Copy link

If upload a vcard with multiple contacts shows error message
Fatal error: Uncaught exception 'Exception' with message 'vCard: invalid vCard'

@matthiasvdh
Copy link

Got the same error here. In my case it was a VCF file that started with a Byte-Order Mark.

Open the source file with a hexeditor and check if it starts with the ascii bytes 'BEGIN' (good) or has the hexadecimal bytes 'ef bb bf'.

See https://en.wikipedia.org/wiki/Byte_order_mark for more information.

We worked around this issue by not passing the BOM to the vCard() constructor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants