6.0.0-beta1
7/7/25

[#13950] vCard import fails with quoted-printable encoded values
Summary vCard import fails with quoted-printable encoded values
Queue Turba
Queue Version 4.2.5
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester marth (at) tsvschlieben (dot) de
Created 04/14/2015 (3737 days ago)
Due
Updated 04/24/2015 (3727 days ago)
Assigned 04/24/2015 (3727 days ago)
Resolved 04/24/2015 (3727 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
04/24/2015 10:04:59 AM Jan Schneider Comment #5
State ⇒ Not A Bug
Reply to this comment
Imports just fine for me, with the invalid characters replaced by 
question marks. The vcard is not completely rendered as an attachment 
though,because htmlspecialchars() returns empty on the invalid 
strings. Nothing we could do about though.
04/24/2015 08:28:07 AM marth (at) tsvschlieben (dot) de Comment #4
New Attachment: vcard-test.vcf Download
Reply to this comment
Hi Jan
Please upload an example file.
This should show the situation (This is your test file, just changed 
the encoding declaration to UTF-8 to simulate a wrong encoded vcard)

Result:Silently discard any chars behind the first wrong encoded char
Expected: Maybe some kind of warning so the user is aware that 
something went wrong at the import and there is an encoding issue with 
the vcard file?
04/24/2015 07:42:52 AM Jan Schneider Comment #3
State ⇒ Feedback
Reply to this comment
Please upload an example file.
04/14/2015 10:35:37 AM marth (at) tsvschlieben (dot) de Comment #2 Reply to this comment
Ok - found our that the encoding was iso-8859-1 (but declared as utf-8)

However I'm not sure that quietly discard data is the best way to 
handle this...

04/14/2015 09:23:41 AM marth (at) tsvschlieben (dot) de Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ vCard import fails with quoted-printable encoded values
Queue ⇒ Turba
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
When importing vCard 2.1 files that contains quoted-printable encoded 
characters everything after this char is stripped.

Example:

[...]
NOTE;CHARSET=UTF-8;ENCODING=QUOTED-PRINTABLE:foo=E4bar
[...]

Expected result:

fooƤbar

Result:

foo


Saved Queries