in reply to URI escape Chinese characters on file download

As per RFC 5987 you should use the unwieldy print "Content-Disposition: attachment; filename*=UTF-8''$fname\n"; on the uri_escaped filename instead.

Replies are listed 'Best First'.
Re^2: URI escape Chinese characters on file download
by hankcoder (Scribe) on Dec 08, 2017 at 17:56 UTC

    Thank you so much. That works exactly as I need. Reading thru the page RFC5987 gonna take me a while to digest ;)