Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
inet
active_desktop
active_scrptng
asp.components
asp.db
asp.general
comctl32
comp.packaging
components.dev
dbweb
dhtml_editing
docobjects
html_authoring
html_objmodel
iis
iis.ftp
iis.security
iis.smtp_nntp
indexserver
misc
mshtml_hosting
scripting.jscript
scripting.vbscript
sdk_setup
shell_objmodel
urlmonikers
webbrowser_ctl
wininet
  
 
date: Thu, 23 Feb 2006 23:12:26 -0800,    group: microsoft.public.inetsdk.html_authoring        back       


Display non US char wrong   
Hello
I have an ASP.net 2.0 site and I am trying to let the users download files.

           Response.Clear();
            Response.ContentType = "application/download";

            string myFileName = getname(df.Name);
            Response.AddHeader("Content-Disposition", "attachment; 
filename=" + df.Name + "." + df.FileEndName);

            Response.OutputStream.Write(myBytes, 0, myBytes.Length);
            Response.OutputStream.Close();
            Response.Flush();
            Response.Close();

when the user got the download dialog the filename is messed up if it 
contains åäö, char in swedish alfabet.

I cant find any solution to this
Please help.
date: Thu, 23 Feb 2006 23:12:26 -0800   author:   Perm

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us