Bug 120819

Summary: problem displaying french and spanish accents in the "subject", and "sender" areas.
Product: [Applications] kontact Reporter: Philippe Léveillé <philippe.leveille>
Component: mailAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: 1.1.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: http client
Thunderbird client
Kmail client

Description Philippe Léveillé 2006-01-26 16:48:24 UTC
Version:           1.1.2 (using KDE 3.4.3, Kubuntu Package 4:3.4.3-0ubuntu2 )
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.12-10-686

Apparently, the accents are displayed OK when the message is highlighted in the list but when deselected, BOXES are displayed in place.

In the message body, HTML seems ok but not text emails.

Characters set to utf-8.

For example, special characters in french and spanish are rendered by  
"Philippe L
Comment 1 Jan Callewaert 2006-01-26 17:04:19 UTC
I can confirm this with kmail in kde-3.5.0, using Gentoo. If focus is on the list and the message is highlighted, accents are displayed wrong. If you click on the message and the list loses its focus, accents are displayed correct. I don't have boxes however but some other weird characters instead.
Comment 2 Thomas Beinicke 2006-01-27 07:53:14 UTC
I can confirm this as well and when I select a mail in kmail a name using accents changed to "unknown" when it's highlighted.
Comment 3 Thiago Macieira 2006-01-29 15:01:48 UTC
I am 99.9% sure that we're talking about invalid email headers, which would make this a duplicate of bug 95157.

Please save one of those faulty messages to disk, zip and attach it here.
Comment 4 Philippe Léveillé 2006-01-30 06:27:48 UTC
Created attachment 14450 [details]
http client
Comment 5 Philippe Léveillé 2006-01-30 06:28:29 UTC
Created attachment 14451 [details]
Thunderbird client
Comment 6 Philippe Léveillé 2006-01-30 06:28:51 UTC
Created attachment 14452 [details]
Kmail client
Comment 7 Philippe Léveillé 2006-01-30 06:32:57 UTC
Ok,

I enclosed snapshots that might help clear this out a bit. This is all from the same account (imap) as viewed with:

1. http client (http.png)
2. thunderbird (thunderbird.png)
3. Kmail (kmail.png)

I guess that's enough to clear possibilities of a duplicate of bug 95157
Comment 8 Jan Callewaert 2006-01-30 13:40:49 UTC
Well, I have this problem with emails sent from kde bugzilla, so I guess we're not talking about faulty messages since I would expect these emails to be correct. Emails sent to kmail-devel on this bug from Philippe Léveillé show this problem.
Comment 9 Philippe Léveillé 2006-01-31 07:36:50 UTC
My mistake,

After looking at the default options for character encoding in thuderbird, I realized the right encoding for correct display is WESTERN (ISO-8859-1) which works perfectly too in KMail. Setting it to utf-8 led to this problem.
Comment 10 Thiago Macieira 2006-01-31 10:39:27 UTC
Reopening to close with the proper solution.
Comment 11 Thiago Macieira 2006-01-31 10:39:54 UTC
BTW, the Bugzilla headers are broken too.

*** This bug has been marked as a duplicate of 95157 ***