Set each msg part encoding to value detected by get_content_charset if available.