None US ASCII characters not allowed in headers?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi.

I have been struggling with a little problem for quite some time now, without finding a good solution.

On one of my pages, users are able to download files that contain none US ASCII characters in their filenames (e.g. character ö,ä,å). And I would like to set the original filename in the content header. But according to RFC2183 on "... The Content-Dispostion Header Field", characters that are not part of US ASCII are not allowed in content headers. Is there any chance to get around this limitation? On the other hand, uploading files that contain "special characters" in their filenames is no problem. Why is that so? My "solution" so far is that I simply replace those characters (ä with a, ö with o and so on).

Any ideas?

//frank

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux