[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmail-devel
Subject:    Re: [PATCH] rewrite of KMMsgPartDlg and fixincludes rant
From:       Marc Mutz <Marc.Mutz () uni-bielefeld ! de>
Date:       2002-01-05 19:22:36
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Saturday 05 January 2002 18:34, Ingo Klöcker wrote:
<snip>
> > Given that this restriction still applies, this extension does NOT
> > provide a means for transferring unencoded binary via SMTP.
> > ---end rfc1652 excerpt---
<snip>
> Hmm, shouldn't 8bit also be removed

No. rfc1652 actually defines the 8bit mime transport extension.

> (cf. the last sentence of the rfc1652 excerpt)?

It's about binary, not 8bit. 8bit is text, and as such falls under the 
1000 char length restriction for lines anyway.

> And 7bit should only be available if the attachment doesn't contain
> non-7bit characters.
<snip>

Of course! The problem here is that a well-founded decision of what cte 
to use is only possible after a char freq count. As said earlier, this 
is
1. not on my todo list before KMime and
2. might be slow.

If we start scanning for 7bit-ness, we have to check the line lengths 
and whether or not it contains NULs. Of course, we could keep a list of 
mimetypes for which we know a unique choice of cte (x-gzip), but that 
is ugly as hell.
Oh, and we should only use 8bit if the server we're going to send it to 
supports that. And if the text in question is clearsigned, we shouldn't 
allow 8bit, too.

See where the problem lies? Let's look at the patch as a rewrite of the 
UI and a slight increase in functionality (notice that I use 7bit now 
for diffs?). I can add a warning if the user selects 7bit and hits OK, 
and I can try to fix the issue with qp encoding of binary data; but 
let's leave it at that, please. At least for KDE3.0.

Marc

- -- 
They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety.      -- Benjamin Franklin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8N1J83oWD+L2/6DgRAs7UAKCpO8/sawQ/+15BQtxkS3innUXL1gCg52z6
YUz0F4P+yqOfOHtx70hBBzI=
=eXBY
-----END PGP SIGNATURE-----

_______________________________________________
kmail Developers mailing list
kmail@mail.kde.org
http://mail.kde.org/mailman/listinfo/kmail
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic