2)第二种方式,使用StandardCharsets的编码常量 byte[] bytes = "你好,世界".getBytes(StandardCharsets.UTF_8); String str = new String(bytes, ...
確定! 回上一頁