panlili2024
2024-09-19 071a8328823a2861f93ce556a4da3e4119cab1a3
HDL_TTLSDK485/src/main/java/com/hdl/sdk/ttl/Utils/HDLUtlis/HDLStringUtils.java
@@ -22,7 +22,7 @@
        String result = "";
        try {
            result = new String(remarkBytes, "GB2312");
            result = new String(remarkBytes, "UTF-8");
        } catch (UnsupportedEncodingException e) {
            e.printStackTrace();
        }
@@ -32,7 +32,7 @@
    public static byte[] stringtoBytes(String str) {
        byte[] bytes = new byte[20];
        try {
            bytes = str.getBytes("GB2312");
            bytes = str.getBytes("UTF-8");
        } catch (UnsupportedEncodingException e) {
            e.printStackTrace();
        }