public static String replaceLatin1(String message, byte oldByte, byte newByte) {
        byte[] bytes = getBytes(message);
        byte[] newBytes = null;
        int length = bytes.length;
        for (int i = 0; i < length; i++) {
            if (bytes[i] == oldByte) {
                if (newBytes == null) {
                    newBytes = Arrays.copyOf(bytes, length);
                }
                newBytes[i] = newByte;
            }
        }
        if (newBytes == null) {
            return message;
        }
        return newLatin1String(newBytes);
    }
@implNote The method assumes the string does NOT contain any extended control character if it
          is encoded in LATIN1. Though Latin-1 is a subset of Unicode, Latin-1 and UTF-8 have
          different bit patterns.
@see <a href="https://cs.stanford.edu/people/miles/iso8859.html">iso8859</a>
turms-server-common/src/main/java/im/turms/server/common/infra/lang/StringUtil.java