|
When using 8bit to send 1 in English, it must be specified as a data format, and the data format SMS will be garbled after ordinary mobile phones receive it. As long as it is in English, it should be compressed.
The compression method is as follows
The first byte is shifted to the left by 1 bit, the lowest bit is filled with the highest bit of the second byte, and the second byte is shifted to the left by two bits, leaving the lower 2 bits free, so that 8 bytes are compressed into 7 bytes.
3131313131313131
//The original length is 8, the compressed length is 7
B1582C168BC562 |
|