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
wilder-work
David Faure 22 years ago
parent 8debe53e91
commit 0420a9b7d9
  1. 3
      kmailicalifaceimpl.cpp

@ -199,7 +199,8 @@ bool KMailICalIfaceImpl::updateAttachment( KMMessage& msg,
QValueList<int> 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);

Loading…
Cancel
Save