|Summary:||Composer does not handle unknown characters with incorrect encoding correctly|
|Product:||[Applications] kmail||Reporter:||Hauke Laging <hauke>|
|Component:||composer||Assignee:||kdepim bugs <kdepim-bugs>|
|Latest Commit:||Version Fixed In:|
one of the emails which trigger the buggy behaviour
Description Hauke Laging 2007-07-11 19:14:01 UTC
Version: (using KDE KDE 3.5.5) Installed from: SuSE RPMs When I receive an email without character set definition then kmail shows an rectangle for each unknown character. That's OK for me but the editor doesn't handle these correctly. It seems the editor sees less characters in that line than it shows. This makes it quite difficult to erase or correct the problematic characters. Pressing the end of line key does not put the cursor at the end but somewhere within the last word (depending on the count of problematic characters in that line).
Comment 1 Thomas McGuire 2007-07-15 14:57:22 UTC
Could you please attach such a mail here? Make sure you remove personal things from it first.
Comment 2 Hauke Laging 2007-07-15 15:33:00 UTC
Created attachment 21157 [details] one of the emails which trigger the buggy behaviour The requested file.
Comment 3 Hauke Laging 2007-07-15 15:33:56 UTC
Created attachment 21158 [details] screenshot This screen shot shows the cursor position after positioning it logically at the end of the line.
Comment 4 Hauke Laging 2007-07-15 15:34:55 UTC
Sure. I have just removed email addresses. I have modified the file with kate. In kate the problematic charachters look different. There is a space and the next character is deleted. I hope kate has not changed anything to these characters. I have not checked that with a hex editor. I also attach a screen shot of the reply window. Please note the cursor position. It is positioned at the ("logical") end of the line. Pressing backspace five times erases everything up to (including) the "t". The cursor is displayed two chars before the end of line. In that case it is displayed between the next "t" and the left rectangle. Pressing backspace again erases the right rectangle but does not move he cursor, reducing the difference between "logical" and "physical" end of line to one character.
Comment 5 Thomas McGuire 2007-07-15 21:32:32 UTC
Hmm, with your mail I can not reproduce the problem. There are strange characters shown, but they don't cause the problems you describe. Maybe editing the file with Kate messed things up indeed. You can check that yourself by downloading your email from this bug report again and saving it somewhere under $HOME/.kde/share/apps/kmail/mail/[..]/cur It should then show up under KMail in that folder. Try replying and see if the problem is still there. If not, then the problem went away after editing the file with Kate. If the problem still occurs with the mail attached here, you should try upgrading KMail to the lastest version.
Comment 6 Michael Leupold 2009-04-05 10:49:04 UTC
I can't reproduce on trunk r948809 either. I'm unsure if the encoding got messed up, after all I still see some gibberish characters.
Comment 7 Martin Koller 2009-08-17 19:40:56 UTC
let's close it then