Version: (using Devel) Compiler: gcc 4.3.2 OS: Linux Installed from: Compiled sources - Launch Kmail - Click on 'New' - Fill in the recipient's email, the subject and in the text editor, type in a few words including some with accents (ex: récréation, tâches...) - Select the text and go to Edit menu/Copy - Go to Edit menu/Paste as Attachment - An attachment is added at the bottom of the composer window - Double click on it to open it The text has been properly pasted except for the accentuated letters which have been replaced by '?' Trunk, Svn Rev 1125510
If you try saving the email as draft you get the following error message: '8bit Content-Transfer-Encoding cannot correctly encode this message. Please report this bug. Trunk, Svn Rev 1125510
When I double click it open it in kate... and it's ok. What is opening for you ? Regards
Laurent: I already started working on this, I have a patch ready but I need to fix some conflict first, then I can commit.
SVN commit 1125867 by tmcguire: Don't allow 8bit encoding for text attachments. BUG: 237277 M +3 -1 attachmentpart.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1125867
> If you try saving the email as draft you get the following error message: > '8bit Content-Transfer-Encoding cannot correctly encode this message. Please > report this bug. This part is now fixed, but not yet the other parts, working on that.
(Reopening, only partly fixed)
SVN commit 1126721 by tmcguire: Make attachment viewing work properly. We now construct an actually valid KMime::Content, by using the AttachmentJob. BUG: 237277 M +22 -6 attachmentcontrollerbase.cpp M +1 -0 attachmentcontrollerbase.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1126721
I retested this today and it still does not seem to work: The accents are still replaced by ? when using Kwrite and Open Office to view the file. In Open Office the default encoding does not work but I tried selecting 'Iso-8859-1' instead and then the accents were properly displayed when opening the attachement. I am reopening this bug because the accents should be displayed properly with the default option and both in Open Office and Kwrite. Trunk, Svn Rev 1127799
SVN commit 1128910 by tmcguire: Fix charset in "paste as attachment" action. Simply use UTF-8, other applications deal with that best. Using toLatin1() here was a bug, since that does only work with a few latin characters. BUG: 237277 M +2 -1 kmcomposewin.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1128910
It is corrected now. The accents included in an attachment are properly displayed now. Trunk, Svn Rev 1128989