G
Guest
Hi !
To download file, I use the following
< My code >
// encode non-ASCII Filename
string filename = Server.UrlEncode("the korean filename");
Response.AppendHeader("Content-Disposition" , "attachment; filename="
+filename+";");
Response.AppendHeader("Content-Type", "application/octet-stream");
< IE Setting >
There is an advanced option named "Always send URLs as
UTF-8" in "Tools - Internet Options - Advanced" menu.
The default setting for this option is "checked".
It works well when the length of file name is below 20.
But, when I use the file name whose length is over 20,
in the confirmation dialog, the file name do not display or display the
download page name or encoding value according to the length of file name.
I dont know why?
Any suggestions or ideas would be appreciated.
Thanks
To download file, I use the following
< My code >
// encode non-ASCII Filename
string filename = Server.UrlEncode("the korean filename");
Response.AppendHeader("Content-Disposition" , "attachment; filename="
+filename+";");
Response.AppendHeader("Content-Type", "application/octet-stream");
< IE Setting >
There is an advanced option named "Always send URLs as
UTF-8" in "Tools - Internet Options - Advanced" menu.
The default setting for this option is "checked".
It works well when the length of file name is below 20.
But, when I use the file name whose length is over 20,
in the confirmation dialog, the file name do not display or display the
download page name or encoding value according to the length of file name.
I dont know why?
Any suggestions or ideas would be appreciated.
Thanks