网页在
〈/HEAD〉和〈BODY〉之间有一句:
<meta http-equiv=Content-Type content='text/html; charset=gb2312'>

解决方案 »

  1.   

    我就是这样做的,不行才发的帖子,原码如下:<html>
    <head>
    <title>Greetings</title>
    </head>
    <META content="text/html; charset=gb2312" http-equiv=Content-Type>
    <META content="MSHTML 5.00.2920.0" name=GENERATOR><body>
    <% for(int i=0;i<5;i++) { %>
    <h1>Hello World! Hello &sup3;&Igrave;&ETH;ò&Ocirc;±!</h1>
    <% } %>
    </body>
    </html>
      

  2.   

    <%@page contentType="text/html;charset=gb2312"%>呵呵,很管用哟。
      

  3.   

    同意doxpix(),如果不行,把
    <META content="text/html; charset=gb2312" http-equiv=Content-Type>
    去掉,有时两个都用会有问题。