在你的jsp文件的开头加上<%@ page contentType="text/html;charset=gb2312" %>
另外在你要include的html文件的head中加上<META http-equiv=Content-Type content="text/html; charset=gb2312">试一试!

解决方案 »

  1.   

    在include的文件中的最上面一行加上這一句:
    <%@ page contentType="text/html; charset=gb2312"%>
      

  2.   

    在你要include的html文件的head中加上<%@ page contentType="text/html;charset=gb2312" %>
      

  3.   

    楼上说的都试过,不行呀。我是<%@page include file="ddd.jsp"%>
    和<%jsp:include page=“ddd.jsp"/>都用了,都不行。
    比如说,我页顶上加上charset=gb2312 ,是我的包含页面是乱码,而本页的正常。
    但如果改成 8859_1,则包含的页面正常,而本页却乱码,郁闷。。
      

  4.   

    在被include的文件中加入<%@ page contentType="text/html;charset=gb2312" %>
      

  5.   

    <%@ page contentType="text/html;charset=GBK"%>
    这个呢??
      

  6.   

    试试在页面终设置
    pageContext.getRequest().setCharacterEncoding("GBK");