IE不识别utf8,只识别utf-8

我用AJAX调用JSP页面,JSP中head这么写

contentType="text/html; charset=utf8",firefox一切正常,但是IE下总是在ajax的error,得到错误、

"Could not complete the operation due to error c00ce56e."

后来改成

contentType="text/html; charset=utf-8"就好了。

相关推荐