Attachment filename corruption problem;

G

Guest

Hi,

When I open the download attachment link from my asp.net 2.0 application, I
get to see filedown download dialog box. When I select 'save' the file name
saves correctly.

The file name is japanease. So I have applied the followng code;

HttpContext.Current.Response.AppendHeader("content-disposition",
"attachment;filename=" & HttpUtility.UrlEncode(filename))

but when i open the file directly from file download dialog, the file
contents are proper but the file name displays in encoded format in acrobat
reader.

the attachments are PDF.

thanks,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,818
Latest member
Brigette36

Latest Threads

Top