//编码的转换String name = getParameter("name");//转化成utf-8name.getBytes("iso-8859-1","utf-8");//转化成unicodename.getBytes("iso-8859-1","unicode");