[kaddressbook] [Bug 346515] During import from vcard 3.0 first name and last name are reversed.
Günter Ohmer
guenter.ohmer at gmx.de
Sat Apr 25 08:42:56 BST 2015
https://bugs.kde.org/show_bug.cgi?id=346515
--- Comment #10 from Günter Ohmer <guenter.ohmer at gmx.de> ---
Hi Laurent,
I'm not familiar with the Bugtracking System. For me it is the same bug,
because the symptoms are the same. I export a contact to vcard import it again
and the contact changes.
But I found the reason why:
The order of the names in the "N" line in the vcard must always be lastName,
firstName have, regardless of the order in the "FN:" line.
=========== without "Show: reverse name with comma" ========================
BEGIN:VCARD
VERSION:4.0
FN:Adam Lastname
N:Lastname;Adam;;;
UID:74d63af5-16b8-4144-abcd-8db0d36f5174
END:VCARD
=============================================================================
=========== with "Show: reverse name with comma"=============================
BEGIN:VCARD
VERSION:4.0
FN:Lastname\, Adam
N:Adam;Lastname\,;;;
UID:74d63af5-16b8-4144-abcd-8db0d36f5174
END:VCARD
=============================================================================
=========== the right form ==================================================
BEGIN:VCARD
VERSION:4.0
FN:Lastname\, Adam
N:Lastname;Adam;;;
UID:74d63af5-16b8-4144-abcd-8db0d36f5174
END:VCARD
==============================================================================
see also: http://en.wikipedia.org/wiki/VCard
FN The formatted name string associated with the vCard object. FN:Dr.
John
Doe
N A structured representation of the name of the person, place or thing
associated with the vCard object. N:Doe;John;;Dr;
Best regards
Günter
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list