[Bug 263761] Non-ascii symbols in From and To symbols replaced to "?" when sending email

Cristian Onet onet.cristian at gmail.com
Sat Mar 26 12:24:49 GMT 2011


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





--- Comment #17 from Cristian Onet <onet cristian gmail com>  2011-03-26 13:24:47 ---
Created an attachment (id=58353)
 --> (http://bugs.kde.org/attachment.cgi?id=58353)
This patch is just a dirty hack that fixes the problem for the 'from' field

It also highlights the problem that is causing the bug.
When KMime::Message::assembleHeaders() is called the header object contains an
UTF-8 string but it's RFC2047 charset is set to ISO 8859-1 (Latin 1) causing
the bad serialization as a 7bit string.
The quick hack is to set the RFC2047 charset to UTF-8 of the 'from' header
element before serializing the header.

-- 
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