Commit a7457861688a063de52ac23b208c7701b61e29ce

Authored by 孙向锦
1 parent 81260cd4

海亮定制

Showing 1 changed file with 4 additions and 4 deletions
海亮定制.md
@@ -473,11 +473,11 @@ ${clinetId} clinetId 是基站编号,为替换字符串。 @@ -473,11 +473,11 @@ ${clinetId} clinetId 是基站编号,为替换字符串。
473 | qm = 1 |单题模式 示例为单题模式的字母单选 | 473 | qm = 1 |单题模式 示例为单题模式的字母单选 |
474 | qt |字母单选 | 474 | qt |字母单选 |
475 | on |选项数 | 475 | on |选项数 |
476 -| content |题目主干内容,hex: 为内容的GBK编码的hex内容 | 476 +| content |题目主干内容,hex: 为内容的GB2312编码的hex内容 |
477 477
478 ```java 478 ```java
479 479
480 -System.out.println(new String(hex2Bytes(bytesToHexString("李四".getBytes("GBK"))),"GBK")); 480 +System.out.println(new String(hex2Bytes(bytesToHexString("李四".getBytes("GB2312"))),"GB2312"));
481 481
482 public static String bytesToHexString(byte[] src) { 482 public static String bytesToHexString(byte[] src) {
483 StringBuilder stringBuilder = new StringBuilder(""); 483 StringBuilder stringBuilder = new StringBuilder("");
@@ -828,12 +828,12 @@ public static String bytesToHexString(byte[] src) { @@ -828,12 +828,12 @@ public static String bytesToHexString(byte[] src) {
828 | current |当前第几包 | 828 | current |当前第几包 |
829 | total |一共多少包 | 829 | total |一共多少包 |
830 | cmd |下发的命令 <br> 1: 姓名下发 <br> 4: 第二行文本 <br> 85: 自判题判断 <br> 87: 清除 | 830 | cmd |下发的命令 <br> 1: 姓名下发 <br> 4: 第二行文本 <br> 85: 自判题判断 <br> 87: 清除 |
831 -| text |标题信息,以hex:开头添加的内容 内容为GBK的hex编码 | 831 +| text |标题信息,以hex:开头添加的内容 内容为GB2312的hex编码 |
832 832
833 833
834 ```java 834 ```java
835 835
836 - System.out.println(bytesToHexString("李四".getBytes("GBK"))); 836 + System.out.println(bytesToHexString("李四".getBytes("GB2312")));
837 837
838 public static String bytesToHexString(byte[] src) { 838 public static String bytesToHexString(byte[] src) {
839 StringBuilder stringBuilder = new StringBuilder(""); 839 StringBuilder stringBuilder = new StringBuilder("");