What&#39;s the current thought on the filename value?<div><br clear="all">RFC2183 says the values should be 78 chars and limited to ASCII.  2184 and then 2231 discuss encoding but not clear how well supported.</div><div>See <a href="http://greenbytes.de/tech/tc2231/">http://greenbytes.de/tech/tc2231/</a> for various tests on browsers.</div>

<div><br></div><div>Should I limit to 78 &quot;characters&quot; and then percent-encode the encoded utf8 string?</div><div><br></div><div>uri_escape( encode( &#39;UTF-8&#39;, substr($name, 0, 78) ) );</div><div><br></div>

<div>Or encode to US-ASCII and let encode replace non ASCII with &quot;?&quot;?  That seems ugly.</div><div><br></div><div><br></div><div><br></div><div>Too bad HTTP::Headers doesn&#39;t abstract all this out.<br><div><br>

</div><div><br></div><div><div><br>-- <br>Bill Moseley<br><a href="mailto:moseley@hank.org">moseley@hank.org</a><br>
</div></div></div>