Summary: | Address fields encoded incorrectly | ||
---|---|---|---|
Product: | [Applications] kmail | Reporter: | Sergei Beilin <sbeilin> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | a patch approach |
Description
Sergei Beilin
2008-03-28 09:57:18 UTC
Created attachment 24114 [details]
a patch approach
The following code seems to be working. Hope it helps.
SVN commit 792011 by tmcguire: Revert parts of: >SVN commit 788330 by tmcguire: >Use decode/encodeRFC2047String from KMime instead of rolling our own. The reason is that our encodeRFC2047String does not encode quoted words (e.g. the address part of a mailbox), while the encodeRFC2047String from KMime does, and I couldn't find a method in KMime which does not encode quoted words. BUG: 159995 M +92 -5 kmmsgbase.cpp M +3 -0 kmmsgbase.h WebSVN link: http://websvn.kde.org/?view=rev&revision=792011 > a patch approach
> The following code seems to be working. Hope it helps.
Thanks for the bug report. I didn't use your patch, because it was hardcoded to use utf-8. Instead I just reverted my earlier commit which broke things.
Hi Thomas! > Thanks for the bug report. I didn't use your patch, because it was hardcoded to use utf-8. Instead I just reverted my earlier commit which broke things. Oops! My fault, a copy-paste from a wrong window ;) You can change "utf-8" constant to variable 'cset', it works for me. -- Best regards, Sergei A. Beilin Jabber ID: SAABeilin@jabber.ru |