[deimos at deimos.one.pl: [Bug 56695] New: kaddressbook iso-8859-2 mismath in to: header using send via kmail]
Ingo Klöcker
kloecker at kde.org
Wed Apr 2 00:37:25 BST 2003
On Tuesday 01 April 2003 21:27, Tobias Koenig wrote:
> since kaddressbook uses the normal kapp-invokeMailer() method I guess
> it's a bug inside invokeMailer().
> Could somebody take a look at it?
That's a duplicate of bug 41018. IMO the solution is to encode the email
address according to RFC2047.
Example:
Ingo Klöcker <kloecker at kde.org>
becomes
Ingo =?utf-8?q?Kl=C3=B6cker?= <kloecker at kde.org>
If KMail is called with
kmail --composer 'Ingo =?utf-8?q?Kl=C3=B6cker?= <kloecker at kde.org>'
it automatically decodes the RFC2047 encoded email address (Try it!).
This solution is independent of the local encoding and KMail already
works with this solution. David's proposal would require to change
KMail so that it treats all parameters as being utf-8 encoded. But this
would break the current behavior (all parameters are treated as being
encoded with local encoding) and should be avoided.
A long time ago I promised to move the RFC2047 en-/decoder to kdelibs so
that it could be used by invokeMailer(). But this proved to be more
difficult than expected. I'll have another look at it.
Regards,
Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20030402/3b78cd22/attachment.sig>
More information about the kde-core-devel
mailing list