Comments (2)
I was able to parse the attached vCard on my end without issue.
The stack trace suggests that the error is occurring while you are writing a vCard, not reading one.
Your vCard contains an escaped double-quote character at the end of the LABEL parameter value. This escaping protocol is defined separately from the vCard spec, and is disabled by default when writing vCards using ez-vcard. You must tell ez-vcard to enable this escaping protocol if you want to include double-quote characters in parameter values:
String str = Ezvcard.write(vcard).caretEncoding(true).go();
from ez-vcard.
@mangstadt Yup, I realize now that in our app, once I read the entire vcard file, I start to write vcard strings to database for each contact and is breaking there. The above line mentioned has fixed the issue.
Thanks for the quick reply. Have a good day. Closing this issue.
from ez-vcard.
Related Issues (20)
- Iterator not iterating past 7th contact. HOT 2
- Topicality of IMPP entrys HOT 1
- [Question] How many phones can a single contact have HOT 1
- Adding charset encoding to elements in VCard HOT 5
- Unable to retrieve original UTC offset from date-time property values HOT 2
- unable to get Photo when using URL HOT 7
- quoted-printable encoded entities are not correctly converted HOT 1
- vCards broken on systems with locale with non-Western digits HOT 5
- Caret encoding: \n not encoded to ^n HOT 3
- Getting crash reports in the release version of the android app HOT 4
- Vulnerability (CVE-2021-37714) in jsoup 1.13.1 HOT 4
- Can't call VCardPropertyScribe.write* explicitly for all properties HOT 2
- Sharing VCF with image to WhatsApp doesn't work HOT 3
- unable to get Photo when using bytes data
- Unable to share Vcf contact card for Android 11 and above. HOT 1
- IMPP: case-insensitive comparison of schemes HOT 1
- VCardWriter - Writes data without proper formatting for Google Contacts - Expected : YYYY-MM-DD ; current : YYYYMMDD HOT 2
- [Q] How do I get the `RawProperty`s? HOT 1
- Version 0.11.3 vulnerabilities HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ez-vcard.