public static void main(String[] args) {
// char c = 'a';
// System.out.println(c+1);

String t = "张";
byte[] b = t.getBytes();
for(byte temp:b){
System.out.println(temp);
}
System.out.println("张".getBytes().length);
}
utf-8确实是3,gbk的是2