I'm trying to generate a QR code that contains contact information in vCard format with a multi-line note field. The QR code can be scanned by android and apple devices and the user can create a contact with the vcard info. This mostly works but the note field is giving me headache. What I want inside the note field:
Line 1
Line 2
...
So the note field consists of two (or more) lines. I tried vcard 2.1, 3.0 and 4.0. Version 2.1 and 3.0 with quoted-printable encoding, 4.0 with /n. It simply does not work, mostly on Android devices. But when I create a contact on my pixel, export it as vcard and import it -> that works and the new lines are still there.
Here are examples for all three versions and a qr code for each.
BEGIN:VCARD
VERSION:2.1
FN:John Doe
NOTE;CHARSET=UTF-8;ENCODING=QUOTED-PRINTABLE:Line 1=0ALine 2=0ALine 3
END:VCARD
BEGIN:VCARD
VERSION:3.0
FN:John Doe
NOTE;CHARSET=UTF-8;ENCODING=QUOTED-PRINTABLE:Line 1=0ALine 2=0ALine 3
END:VCARD
BEGIN:VCARD
VERSION:4.0
FN:John Doe
NOTE:Line 1\nLine 2\nLine 3
END:VCARD
For these examples, I generated the QR codes using goqr.me. I also tried several other QR code generators, but the result is always the same. I'm wondering if I'm missing something fundamental — did I use quoted-printable encoding incorrectly?