As per RFC 5987 you should use the unwieldy print "Content-Disposition: attachment; filename*=UTF-8''$fname\n"; on the uri_escaped filename instead.
In reply to Re: URI escape Chinese characters on file download
by hippo
in thread URI escape Chinese characters on file download
by hankcoder
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |