Function
email.Utils.collapse_rfc2231_value

Signature

collapse_rfc2231_value(value, errors='replace', fallback_charset='us-ascii')