1

When user try to download file in pure ie8 , not compatibility mode which have multilingual character in name it shown "fileAttachment" name .

that time i using

header("Content-Disposition: attachment; filename*=UTF-8''".rawurlencode ($fileInfo['fileName']));

to fix that error i am using

 header('Content-Disposition: attachment; filename="'.rawurlencode($fileInfo['fileName']).'"');

but issue here is that all multilingual character convert into url encode form in all browser.

is there any solution regarding this?

sandeep
  • 2,244
  • 1
  • 23
  • 38
  • Why are you url-encoding it in the header? I haven't tried this but I assume you can double-quote it with no encoding? – Basic May 02 '13 at 13:02
  • Hmmm Seems this requires some browser sniffing to work around. See [this answer](http://stackoverflow.com/a/2543744/156755) – Basic May 02 '13 at 13:10

0 Answers0