<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<meta charset="utf-8">
<script type="text/javascript" charset="utf-8"></script>
response.setContentType("text/html;charset=utf-8");
今天用jquery写js时,都按上面设置了js中的中文还是显示乱码,以前这么设置没问题啊。