下载文件名乱码

        Response.Clear()
        Response.ContentType = "application/octet-stream"
        Response.AddHeader("Content-Disposition", "attachment;FileName=" + HttpUtility.UrlEncode(filename, System.Text.Encoding.UTF8))
        Response.WriteFile(filepath+filname)
        Response.End()
原文地址:https://www.cnblogs.com/huqingyu/p/169446.html