想问一下,我这么转换字符为什么不好使呢,就一句话?
String id=request.getParameter( "id ");
String idd=new String(id.getBytes( "ISO-8859-1 ", "UTF-8 "));
------解决方案--------------------String idd=new String(id.getBytes( "ISO-8859-1 ", "UTF-8 "));
写错了,应该为String idd=new String(id.getBytes( "ISO-8859-1 "), "UTF-8 "));