I would like to use a user-supplied filename when returning a download (e.g. pdf). For example, might be filename="$title.pdf". But $title can include any character.
It seems like support for this in browsers is spotty: See: http://greenbytes.de/tech/tc2231/ Is anyone aware of a way to set this header to allow utf8 filenames that is supported across browsers? Also, my assumption is HTTP::Headers expect encoded values -- that is the values are octets not characters and so should always encode( 'US-ASCII' ) the value. I just tried with Google Apps and it seems they turn any non A-Za-z into an underscore. Not sure that means they just didn't try hard or if they felt it was not possible to use non ASCII characters in suggested filenames. -- Bill Moseley mose...@hank.org