Workaround for QTextCodec bug. For some encodings a \0 is inserted at the end of the QString which caused the headers to be cut.
Workaround for QTextCodec bug. For some encodings a \0 is inserted at the end
of the QString which caused the headers to be cut.

svn path=/trunk/kdenetwork/kmail/; revision=71297

lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi