From 0420a9b7d95ce88c8b280683bafd6979832bf7bf Mon Sep 17 00:00:00 2001 From: David Faure Date: Wed, 30 Jun 2004 16:19:03 +0000 Subject: [PATCH] utf8 is no CTE. Let's have CTE==8bit (so that the XML files can be validated from the disk storage, hopefully) and charset=utf8 svn path=/branches/proko2/kdepim/; revision=324928 --- kmailicalifaceimpl.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kmailicalifaceimpl.cpp b/kmailicalifaceimpl.cpp index ea5c56185..9aa45175e 100644 --- a/kmailicalifaceimpl.cpp +++ b/kmailicalifaceimpl.cpp @@ -199,7 +199,8 @@ bool KMailICalIfaceImpl::updateAttachment( KMMessage& msg, QValueList allowedCTEs; msgPart->setBodyAndGuessCte( rawData, allowedCTEs ); }else{ - msgPart->setContentTransferEncodingStr( url.fileEncoding().latin1() ); + msgPart->setContentTransferEncodingStr( "8bit" ); + msgPart->setCharset( url.fileEncoding().latin1() ); msgPart->setBodyEncodedBinary( rawData ); } msgPart->setType(DwMime::kTypeApplication);