Bug 230968

Summary: kaddressbook unable to open vCards with ENCODING=8BIT inside
Product: [Applications] kaddressbook Reporter: Eckhart Wörner <ewoerner>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: tokoe
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Unspecified   
Latest Commit: Version Fixed In:

Description Eckhart Wörner 2010-03-16 14:27:18 UTC
Version:            (using KDE 4.4.1)
Installed from:    Debian testing/unstable Packages

This bug has been copied over from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=574092 and has been verified to still exist in KDE SC 4.4.1

----

The following text/x-vCard file doesn't work:
BEGIN:VCARD
VERSION:2.1
N;CHARSET=UTF-8;ENCODING=8BIT:Machin:Truc
TEL:
ADR;CHARSET=UTF-8;ENCODING=8BIT:;56 Rue du Bootloader. 63000 Clermont-ferrand
EMAIL;CHARSET=UTF-8;ENCODING=8BIT:truc@machin.org
URL;CHARSET=UTF-8;ENCODING=8BIT:http://truc.machin.org
END:VCARD

But the following does work:
BEGIN:VCARD
VERSION:2.1
N;CHARSET=UTF-8:Machin:Truc
TEL:
ADR;CHARSET=UTF-8:;56 Rue du Bootloader. 63000 Clermont-ferrand
EMAIL;CHARSET=UTF-8:truc@machin.org
URL;CHARSET=UTF-8:http://truc.machin.org
END:VCARD

I think kaddressbook doesn't correctly handle "ENCODING=8BIT".
Comment 1 Tobias Koenig 2010-03-16 15:04:12 UTC
SVN commit 1104019 by tokoe:

Parse vCards with ENCODING=8BIT correctly

BUG: 230968


 M  +6 -6      vcardparser.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1104019