//如果是文件名乱码,试试下面的: string httpHeader="attachment;filename="+HttpUtility.UrlEncode(strFileName+".xls"); Response.AppendHeader("Content-Disposition", httpHeader); //如果是文件内容乱码,试试下面的: Response.ContentEncoding=System.Text.Encoding.Default; //或 Response.ContentEncoding=System.Text.Encoding.GetEncoding("GB2312");