[Bug 259591] Umlauts in the subject aren't displayed correctly in the message list

Thomas McGuire mcguire at kde.org
Sat Jan 1 18:54:53 GMT 2011


https://bugs.kde.org/show_bug.cgi?id=259591





--- Comment #6 from Thomas McGuire <mcguire kde org>  2011-01-01 19:54:53 ---
Ok, the problem is that the mail is incorrectly stored in the Akonadi database.
If you have a look at parttable, you'll see the ENVELOPE is stored as:
> ("Thu, 23 Jul 2009 04:55:33 -0600" "****SPAM(20.2)**** =?UTF-
> 8?B?UmU6UG9wdWzvv71yZW4gUHJvZ3JhbW1lIGbvv71y?= PC und MAC" (("Erfahrung der 
> Spezialisten" NIL "AnthonyLatham" "morelos.com")) NIL NIL ((NIL NIL "sa_fi" 
> "gmx.net")) NIL NIL NIL "<WH4076vcvmawr at omniscient.info>" NIL)

Whereas the HEAD and RFC822 payloads are stored as:
> [..]
> Subject: ****SPAM(20.2)**** Re:Populären Programme für PC und MAC
> [..]

This is because SerializerPluginMail::serialize() actually parses the subject
in the ENVELOPE case, but not in the HEAD and RFC822 cases. Parsing here is
wrong, since it can't possible use the correct fallback charset.
Not quite sure what to do here, we need some way to get the raw header field
out of the mail, without any parsing.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list