Version: (using Devel) Installed from: Compiled sources Compiler: gcc version 4.3.1 (Gentoo 4.3.1 p1.0) OS: Linux Hi, Sometimes when I send Japanese e-mail, random parts of the mail goes ? marks and the end gets cut off, or � marks. I'm not sure how to reproduce this, but the "HTML document" of the message seems to be fine, only the "plain text document" goes gibberish. Some screenshots of the problem. With those � marks: [url]http://img90.imageshack.us/my.php?image=bug1dm2.png[/url] and it should look like this (HTML document): [url]http://img410.imageshack.us/my.php?image=bug2xu1.png[/url] With cut off part: [url]http://img410.imageshack.us/my.php?image=bug3ex4.png[/url] and it should look like this (HTML document): [url]http://img168.imageshack.us/my.php?image=bug4aw5.png[/url] I'm using kmail 1.9.52 built from Gentoo svn overlay.
Ahh sorry I messed up the links... http://img90.imageshack.us/my.php?image=bug1dm2.png http://img410.imageshack.us/my.php?image=bug2xu1.png and, http://img410.imageshack.us/my.php?image=bug3ex4.png http://img168.imageshack.us/my.php?image=bug4aw5.png
Could you please attach such a mail to this bugreport?
Created attachment 25706 [details] a message with gibberish
Created attachment 25707 [details] a mail with gibberish
and also, person who receives the mail, sees it wrong too.
I did some testing (with a message which goes bad). Disabling Formatting (HTML) from the new mesaage window while sending seems to fix it (atleast with this mail).
Created attachment 25824 [details] the message with html formatting
Created attachment 25825 [details] Same message without html formatting.
OK, thanks to your attached mail, I am able to reprodcue this. I'll try to do something about it before the 4.1 release.
SVN commit 828900 by tmcguire: Don't use a hidden edit widget to remove the formatting from a HTML message (in order to get a plain text version for the text body part), this corrupts text written in Japanese. Instead, read the plain text version directly from the composer, which seems to work fine. BUG: 165190 M +55 -69 messagecomposer.cpp M +14 -13 messagecomposer.h WebSVN link: http://websvn.kde.org/?view=rev&revision=828900
Please test the new version and report back if the problem is indeed solved now.
I tried with the attached mail, and it works fine now (with html formatting), so it seems to be solved. Thank you.