可能此话有错
byte[] temp_t=temp_p.getBytes("ISO8859_1");//
应该是
byte[] temp_t=temp_p.getBytes("ISO_8859_1");//
记得给分

解决方案 »

  1.   

    不行啊,改成byte[] temp_t=temp_p.getBytes("ISO_8859_1"); 之后上述??变成null
    为什么呀,大家帮帮我呀,用的是jdk1.3+tomcat3.2
      

  2.   

    <%@ page contentType="text/html;charset=iso8859_1"%>你看看
      

  3.   

    你把下面这一句中的GB2312换成GBK试试
    <%@ page contentType="text/html;charset=GB2312"%>
      

  4.   

    strvalue = new String(strvalue.getBytes("ISO8859_1"), "GBK");试试