字符编码转换 中文乱码 new String(str.getBytes("iso-8859-1"), "UTF-8"); 查看当前环境字符编码 System.getProperty("file.encoding")