JAVA byte[]转String 中文问题

JAVA byte[]转String 中文问题

 public static void main(String[] args) {
        String str1 = "123456中国";
        byte[] src = str1.getBytes();
        Charset charset = Charset.defaultCharset();
        ByteBuffer buf = ByteBuffer.wrap(src);
        CharBuffer cBuf = charset.decode(buf);

        System.out.println(cBuf.toString());
}

JAVA byte[]转String 中文问题