Chardet is called for text attachments (e.g. RTF). Chardet is CPU intensive, and it takes minutes, even hours, to detect the encoding of a big document. So character encoding detection is launched on the first 2000 characters of a text.
Before my patches, TMail did not try to convert the encoding of parts without "character-encoding".
Merge remote-tracking branch 'nfo/master'