[Kde-pim] Re: kmail + mdn reply + encoding
laurent Montel
montel at kde.org
Tue Jun 28 08:31:16 BST 2011
Le Monday 27 June 2011 21:59:06 Ingo Klöcker a écrit :
> I don't really know KMime very well, but the following looks wrong:
> > firstMsgPart->contentType()->setMimeType( "text/plain" );
> > firstMsgPart->contentType()->setCharset( "us-ascii" );
> > firstMsgPart->contentTransferEncoding()->from7BitString( "7bit" );
> > firstMsgPart->setBody( description.toUtf8() );
>
> It should probably be
>
> > firstMsgPart->contentType()->setMimeType( "text/plain" );
> > firstMsgPart->contentType()->setCharset( "utf-8" );
> > firstMsgPart->contentTransferEncoding()->from7BitString( "7bit" );
> > firstMsgPart->setBody( description.toUtf8() );
>
> instead.
>
>
> Regards,
Thanks work fine now.
Regards.
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
More information about the kde-pim
mailing list