title: How can I encode a filename in PHP according to RFC 2231?
body: <p>How can I encode the value of a filename according to the encoding of <a href="http://www.faqs.org/rfcs/rfc2231.html" rel="nofollow">MIME Parameter Value and Encoded Word Extensions: Character Sets, Languages, and Continuations (RFC 2231)</a>?</p>