在代码前加上:
<%@ page contentType="text/html;charset=GB2312" %>
就可以了,试试吧。