中 => UTF-8 => 中
=> ISO8859-1 => ??
String s = "??";
bytes[] bs = s.getBytes("ISO8859-1"); // 转化为字节数组
String correctS = new String(bs, "UTF-8");
中 => UTF-8 => 中
=> ISO8859-1 => ??
String s = "??";
bytes[] bs = s.getBytes("ISO8859-1"); // 转化为字节数组
String correctS = new String(bs, "UTF-8");