1078-设置终端参数...

This commit is contained in:
648540858
2024-04-29 00:05:04 +08:00
parent 225940825b
commit bc356849c7

View File

@@ -69,7 +69,7 @@ public class J8103 extends Rs {
field.setAccessible(true);
String stringVal = (String)field.get(config);
buffer.writeByte(stringVal.getBytes().length);
buffer.writeBytes(stringVal.getBytes());
buffer.writeCharSequence(stringVal, Charset.forName("GBK"));
continue;
case "Integer":
buffer.writeByte(2);