[kdepim-users] KMail encoding in base64

Ingo Klöcker kloecker at kde.org
Wed Jul 22 22:46:19 BST 2009


On Friday 17 July 2009, Stefan Roese wrote:
> Hi Ingo,
>
> On Thursday 16 July 2009 22:36:42 Ingo Klöcker wrote:
> > On Thursday 16 July 2009, Stefan Roese wrote:
> > > I just noticed that KMail sometimes encodes my mails (replies to
> > > some mailing list mails) with base64. I haven't found out yet
> > > when and why this is happening though.
> > >
> > > Does anybody know why this is happening (the original mail I'm
> > > replying to is not base64 encoded)
> >
> > KMail uses certain heuristics to determine whether the message
> > should be base64 encoded or quoted-printable encoded. In my
> > experience, base64 is chosen if the message is pretty short and
> > contains a few non-ASCII characters (i.e. umlauts, accented
> > letters, etc.).
> >
> > > and how to prevent KMail from doing this?
> >
> > Why do you want to prevent KMail from doing so?
>
> Because it's not allowed to send such mails to some mailing lists
> (e.g. u- boot: http://www.denx.de/en/Software/MailingLists).
>
> So is there currently no chance to prevent this base64 encoding in
> KMail?

No. (Except for the obvious "patch the source code and compile 
yourself".)

Unless the ratio of non-ASCII characters in the message is too high 
KMail shouldn't use base64 encoding. So as workaround you could always 
add a few lines of ASCII characters (maybe as footer) to bring the 
ratio of non-ASCII below the threshold. Or maybe there's a bug in the 
calculation of the ratio. Can you send me a sample message?


Regards,
Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdepim-users/attachments/20090722/85754af9/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM users mailing list
kdepim-users at kde.org
https://mail.kde.org/mailman/listinfo/kdepim-users


More information about the kdepim-users mailing list