https://bugs.kde.org/show_bug.cgi?id=362938
--- Comment #6 from Stefan <ste...@draakgard.de> --- I hope I have the right idea now: KMime::Message::Ptr akonadiNote = KMime::Message::Ptr(new KMime::Message); akonadiNote->subject(true)->fromUnicodeString( jsonNote["title"].toString(), "utf-8" ); akonadiNote->contentType()->setMimeType("text/plain"); akonadiNote->contentType()->setCharset("utf-8"); akonadiNote->contentTransferEncoding(true)->setEncoding(KMime::Headers::CEquPr); akonadiNote->mainBodyPart()->fromUnicodeString(jsonNote["note-content"].toString().toUtf8()); akonadiNote->assemble(); resultItem.setPayload<KMime::Message::Ptr>(akonadiNote); Problem is now the debugging. How can read the debug messages like qCDebug(log_tomboynotesresource) << "Resource started"; -- You are receiving this mail because: You are watching all bug changes.