Quote:
need to compress more than 5000 characters of data into 100 Bytes
Unless your 5000 chars are full of repeated sequences, a ratio of 1/50 is impossible to reach.
You need to understand that compression is not infinite and depend on the data to compress. In some cases, the data can be impossible to compress.
You need to study and understand how compression works.
Data compression - Wikipedia[
^]