Bug 91393 - inline vCard attachments have incorrect character encoding
Summary: inline vCard attachments have incorrect character encoding
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: addressbook (show other bugs)
Version: 1.7.1
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 65236 143462 148048 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-10-15 16:49 UTC by Tristan Miller
Modified: 2009-04-25 23:36 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Message exhibiting described bug (1.61 KB, text/plain)
2004-10-15 16:55 UTC, Tristan Miller
Details
Screenshot of KMail showing improperly displayed vCard (13.73 KB, image/png)
2004-10-15 16:58 UTC, Tristan Miller
Details
Broken encoding of vcard (14.21 KB, image/png)
2004-11-07 11:47 UTC, Mikolaj Machowski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tristan Miller 2004-10-15 16:49:06 UTC
Version:           1.7.1 (using KDE KDE 3.3.0)
Installed from:    SuSE RPMs

When a user adds a vCard file to a message as an attachment, it is given the same encoding as the rest of the message. (See attached example.)  However, KMail should not make this assumption.  According to RFC 2426, vCards can have any character encoding, though UTF-8 is preferred; the character set must be specified in the Content-Type MIME header field.  vCards produced by KAddressbook are UTF-8 encoded by default.

To fix this bug, when a user attaches a vCard, KMail should by default specify the encoding as UTF-8, but allow the user to change this if necessary in the attachment pane.
Comment 1 Tristan Miller 2004-10-15 16:55:10 UTC
Created attachment 7890 [details]
Message exhibiting described bug
Comment 2 Tristan Miller 2004-10-15 16:58:27 UTC
Created attachment 7891 [details]
Screenshot of KMail showing improperly displayed vCard

Here's a screenshot showing KMail viewing the message in the previous
attachment.  Note that the vCard attachment is displayed as if it were
ISO-8859-15-encoded instead of UTF-8 encoded.
Comment 3 Tom Albers 2004-10-17 17:20:18 UTC
Problem confirmed.
Comment 4 Mikolaj Machowski 2004-11-07 11:42:38 UTC
Configureming for 1.11 CVS-HEAD
Comment 5 Mikolaj Machowski 2004-11-07 11:47:24 UTC
Created attachment 8207 [details]
Broken encoding of vcard

Notice also wrong image - bad rescaling instead of use bigger version.
Comment 6 Thomas McGuire 2007-03-27 20:59:12 UTC
*** Bug 143462 has been marked as a duplicate of this bug. ***
Comment 7 Pino Toscano 2007-04-21 00:01:40 UTC
*** Bug 65236 has been marked as a duplicate of this bug. ***
Comment 8 Thomas McGuire 2007-07-20 16:31:35 UTC
*** Bug 148048 has been marked as a duplicate of this bug. ***
Comment 9 Tristan Miller 2009-04-25 23:36:08 UTC
Fixed in KDE 4.2.2.