String snn = "中华";
byte[] buff = snn.getBytes("UTF-8"); int i = buff.length; The System. OUT .println (i);
// can digital (i) obtained, the conversion (China)
String snn = "中华";
byte[] buff = snn.getBytes("UTF-8"); int i = buff.length; The System. OUT .println (i);
// can digital (i) obtained, the conversion (China)