我是英文系统,代码如下,即使我把编码方式改成GB2312也还是乱码,怎么解决
response.AddHeader("Content-Disposition", string.Format("attachment;filename={0}", strFile));
response.Charset = "utf-8";
response.ContentType = "application/ms-excel";
response.ContentEncoding = System.Text.Encoding.GetEncoding("utf-8");
response.Write(sw);
response.Flush();
response.End();