Bug 230968 - kaddressbook unable to open vCards with ENCODING=8BIT inside
Summary: kaddressbook unable to open vCards with ENCODING=8BIT inside
Status: RESOLVED FIXED
Alias: None
Product: kaddressbook
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Unspecified
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-16 14:27 UTC by Eckhart Wörner
Modified: 2010-03-16 15:04 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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