--TEST-- Bug #3513 Support of RFC2231 in header fields. (ISO-8859-1) --SKIPIF-- --FILE-- addAttachment('testfile',"text/plain", $test, FALSE, 'base64', 'attachment', 'ISO-8859-1'); $root = $Mime->_addMixedPart(); $enc = $Mime->_addAttachmentPart($root, $Mime->_parts[0]); print($enc->_headers['Content-Disposition']); --EXPECT-- attachment; filename*=ISO-8859-1''F%F3%F3b%E6r.txt; size=8