asp.net调用js代码乱码解决方法

xiaoxiao2022-06-11  33

方法:两个步骤 1.Aspx页面文件中加入 <META http-equiv="content-type" content="text/html; charset=gb2312"> 2.在页面加载事件中加入下句: Response.ContentEncoding = System.Text.Encoding.GetEncoding("GB2312"); 相关资源:Java 面经手册·小傅哥(公众号:bugstack虫洞栈).pdf
转载请注明原文地址: https://www.6miu.com/read-4931517.html

最新回复(0)