Skip to content

Commit 9708155

Browse files
committed
Update 22.编码解码.md
1 parent 8ddb320 commit 9708155

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

22.编码解码.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
```Java
1010
System.out.println("中国");
1111
```
12-
1. 无论文件以任何编码格式载入到JVM中,"中国"二字都会以unicode码的形式存在JVM中(\u4e2d\u56fd);
12+
1. 无论文本以任何编码格式载入到JVM中,"中国"二字都会以unicode码的形式存在JVM中(\u4e2d\u56fd);
1313
2. 假如IDE控制台的编码为UTF-8,当对"中国"二字进行控制台输出时,系统会将unicode码转为具体的UTF-8编码格式。(\u4e2d\u56fd -> e4b8ade59bbd)
1414

1515
```
@@ -77,4 +77,4 @@ public void gbk_unicode_utf8() throws DecoderException,
7777

7878
实际上,这里的unicode编码对应的是unicode的`UTF-16`编码。以16位定长的二进制表示一个unicode码。
7979

80-
## 参考资料
80+
## 参考资料

0 commit comments

Comments
 (0)