(1)手工转码: A. 用ISO8859-1将字串转向字节数组 byte[] ss = str.getBytes('ISO8859-1'); B. 用页面编码重新将字节数组转成字符串 String str = new String(ss,'GBK');