Version: svn r812925 (+/-) (using Devel) Installed from: Compiled sources Compiler: g++ (GCC) 4.2.3 (Ubuntu 4.2.3-2ubuntu7) OS: Linux Content-Transfer-Encoding is now always "7-bit". That's OK with English language and Latin chars, but all national (Russian for me) chars are lost, no matter utf-8 or koi8-r is used. This happens both to the sent message and it's copy in "Sent" folder. For multy-part messages, the text/html part with utf8 charset is transferred as base64 (and no chars lost :), but the text/plain is partially (!) corrupted with some chars lost and wrong linebreak (it seems at 1/2 of the amount set, but that's another bug). These lost chars are at these linebreaks. It seems that it is first encoded and then linebreaked :)
Even if I hardcode base64 cte in kmmessage, russian letters are lost. Is it a bug in KRichTextEdit?
Well, mComposeWin->mEditor->textOrHtml() works fine! At the same time, mComposeWin->mEditor->toWrappedPlainText() looses everything but latin chars. Is it a bug in KMeditor::toWrappedPlainText()? Have to dig in QTextDocument, QTextBlock, QTextLayout and QTextLine for some toLatin1() conversion?
SVN commit 814242 by tmcguire: Don't eat non-ascii characters when sending messages. Time for me to buy a few brown paper bags... BUG: 162673 M +6 -12 kmeditor.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=814242